Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 441 results for
spiral
- Page 1
Spiral Matrix
Programming
Software Development
11 Years Ago
by jose.a.rueda.5
… for it. The compiling and print have to be a
spiral
matrix. it must start in the center and then move… and then up and then to the left, making a
spiral
. I have to introduce an initial and final value. the… and the final value would be the end of the
spiral
. Like this initial Value = 4 final Value = 18 4 5…
spiral matrix
Programming
Software Development
11 Years Ago
by soundarya_1
…an MxN matrix A and prints its elements in
spiral
order. You should start from the element in… and 0th column in the matrix and proceed in a
spiral
order as shown below. 1→ 2→3→ 4 …. OUTPUT: Elements of the matrix printed in a
spiral
order. All the elements should be separated by whitespace…
Spiral Order Of Matrix
Programming
Software Development
18 Years Ago
by Jaks_maths
This Program prints the numbers in given array(Row-Major Order) in
Spiral
order. Ex: Order Is 3*4 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Spiral
Order Of Matrix is 11 12 13 14 18 22 26 25 24 23 19 15 16 17 21 20
Re: Spiral View (without using arrays)
Programming
Software Development
12 Years Ago
by Gonbe
… 0; // Simple case: The first line of a
spiral
. if (line == 0) { for (i = …- i); } } // Simple case: The last line of a
spiral
. else if (line == (n - 1)) { for (i …int i = 0; // Draw the lines of the
spiral
. for (i = 0; i < n;…
Re: Spiral Matrix
Programming
Software Development
11 Years Ago
by rubberman
Your example does not match what you said should be the pattern. > it must start in the center and then move to the right and then up and then to the left, making a
spiral
. Yet your example starts at the top and moves right and down, as in: 4 5 6 14 15 16 7 13 18 17 8 12 11 10 9
Spiral View (without using arrays)
Programming
Software Development
12 Years Ago
by Bchandaria
… one can help me out i want to display a
spiral
of n*n size with out using arrays? out put…
Spiral numbers
Programming
Software Development
10 Years Ago
by TrustyTony
I [saw interesting problem](http://www.daniweb.com/software-development/legacy-languages/threads/478323/prolog) of generating
spiral
of numbers and realized I could reuse [my code for rotation](http://www.daniweb.com/software-development/python/code/371536/rotate-sequences-left-or-right) I posted earlier.
Drawing a spiral
Programming
Software Development
17 Years Ago
by degamer106
…(getBounds())) return; g2.draw(segment); } } }[/CODE]
Spiral
Generator: [CODE]import java.awt.geom.Point2D; import java.…start; size = initialSize; } /** Returns the next segment of the
spiral
. @return the next segment */ public Line2D.Double nextSegment() { Line2D…
Segmentation Fault with a counter clockwise spiral
Programming
Software Development
14 Years Ago
by jaku78
… I have a program that is doing a counter clockwise
spiral
and will print the value i or print out a… number is prime. n is equal the length of the
spiral
while i is the initial center value of the… is incremented with each shift in the
spiral
. I need the
spiral
to insert the values counter clockwise starting at the center…
Re: Drawing a spiral
Programming
Software Development
17 Years Ago
by Ezzaral
There are two different ways you can approach drawing the
spiral
. 1) Using [URL="http://java.sun.com/javase/6/…
Re: Segmentation Fault with a counter clockwise spiral
Programming
Software Development
14 Years Ago
by jaku78
… screwing up so I tried to rework the
spiral
part of the code. When it tries to go back … it hits 25 it will print that part of the
spiral
correctly. [CODE] while ( i < m ) { for (j=0;j…
Re: [urgent] Filling a table (multidimensional array) with spiral datas..
Programming
Software Development
16 Years Ago
by djzmo
…="http://images.google.com/images?q=
spiral
"]http://images.google.com/images?q=
spiral
[/URL] now look at my illustration… be read as abcdefghijkl but after I reformed it to
spiral
, abcdjkleihgf.. any ideas? help would be greatly appreciated :)
[urgent] Filling a table (multidimensional array) with spiral datas..
Programming
Software Development
16 Years Ago
by djzmo
… table (using multidimensional array/vector) that contains datas in a
spiral
form. Here's my work so far: [code=C++]int… it produces... (illustrated below) Now my problem is making it
spiral
.. [img]http://img210.imageshack.us/img210/3671/tospiralub1.jpg[/img…
Squared spiral
Programming
Software Development
15 Years Ago
by Musafir
… should draw as many lines of the
spiral
that fit inside the window def
spiral
(lenght,side): for i in range(1…
Archimedean spiral
Programming
9 Years Ago
by ALosh99
I am trying to define the archimedean
spiral
: when im trying to define the inclination angle (incl) of … and help. My code is: a= 2. # will turn the
spiral
v= 0.23 omega = 0.2 r0 = v/omega t…
Re: [urgent] Filling a table (multidimensional array) with spiral datas..
Programming
Software Development
16 Years Ago
by Sky Diploma
Well What exactly does
Spiral
mean? Secondly could you just illustrate what is the desired output your code like you did with the mspaint example.
Re: Squared spiral
Programming
Software Development
15 Years Ago
by woooee
A quick example of a
spiral
using deque. It still has a few problems (works best …
Re: Archimedean spiral
Programming
9 Years Ago
by Gribouillis
… np T = 5 N = 50 a= 2. # will turn the
spiral
v= 0.23 omega = 0.2 r0 = v/omega t…
A recangular spiral
Programming
Software Development
16 Years Ago
by godnseeker
please can anyone tell me that i want to create a rectangular
spiral
in c++. (I use borland c++) u can show the picture
Difference between prototype model and spiral model?
Programming
Computer Science
13 Years Ago
by silvercats
Difference between prototype model and
spiral
model?
Re: Difference between prototype model and spiral model?
Programming
Computer Science
13 Years Ago
by ChrisHunter
The
spiral
modle allows you to return to previous stages in the …
MxN matrix in Spiral Order.
Programming
Software Development
11 Years Ago
by Rahul47
… expected output. This is a program for printing matrix in
spiral
order. #include<stdio.h> #include<stdlib.h…
Re: MxN matrix in Spiral Order.
Programming
Software Development
11 Years Ago
by Rahul47
It should show the matrix in
SPIRAL
order. 1--> 2 --> 3 --> 4 v 5--> 6 --> 7 8 ^ v 9<-- 10 <--11<--12 Like shown by arrow. Opening a matrix clockwise. It will open up as following. 1 2 3 4 8 12 11 10 9 5 6
Re: MxN matrix in Spiral Order.
Programming
Software Development
11 Years Ago
by Rahul47
I think you are mistaken Sir, the second line in that snapshot shows the elements entered in the array, while third line is supposed to show the opened up matrix in
spiral
order which is supposed to be 1 2 3 4 8 12 11 10 9 5 6.
Re: MxN matrix in Spiral Order.
Programming
Software Development
11 Years Ago
by Rahul47
:D Sir, Arrows were directed for sequence of elements. Clockwise direction of
Spiral
. And yes data has to be random. I used consecutive numbers for simplicity.
Inward spiral matrix
Programming
Web Development
10 Years Ago
by azapovjednik
… all! Can someone help with this matrix? it needs to
spiral
inwards, from bottom right corner, clockwise... I found this code…
plot 2 branches archimedean spiral in python
Programming
9 Years Ago
by ALosh99
… I have written : n= 1000 a= 2. # will turn the
spiral
v= 1 omega = 0.1 r0 = v/omega T=100…
Re: Spiral Matrix
Programming
Software Development
11 Years Ago
by iamthwee
Example makes little sense.
Re: Spiral Matrix
Programming
Software Development
11 Years Ago
by jose.a.rueda.5
ok now i figured that out. youre right. it would be like this: initial number = 4 final number = 18 18 17 16 8 7 6 15 9 4 5 14 10 11 12 13
Re: spiral matrix
Programming
Software Development
11 Years Ago
by David W
Show the code you have ... and where you think you are stuck ...
1
2
3
8
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC