I need a matlab program to draw a circle point-by-point with a spiral path, I have center and radius coordinates
clc
clear all
close all
%%
angles = linspace(0, 2*pi, 720); % 720 is the total number of points
radius = 20;
xCenter = 50;
yCenter = 40;
for r=1:radius
x{r}= r*cos(angles)+xCenter;
y{r}=r*sin(angles)+yCenter;
end
figure
plot(cell2mat(x), cell2mat(y));
N=4
a=0;
step = 300*N;
u = a + (0:step).*(N*(2*pi)/step);
r=u./2;
x=r.* cos(u);
y=r.* sin(u);
plot(x,y)
In the first case, you get circles to reduce the radius in the second spiral. All points are stored in the corresponding variables.
Have a look at https://www.mathworks.com/matlabcentral/answers/302961-moving-a-dot-at-a-constant-velocity-in-a-circular-path-in-matlab
ehttps://www.mn.uio.no/astro/english/services/it/help/mathematics/matlab/graphg.pdf
Hello DR Zeena; The above was the most comprehensive link I could ferret out
concerning your question. Please delete the 'e' at the beginning of the link I hope the input helps you in your research work. Best regards
Air moisture harvesting Air water collection devices
06 August 2024 5,473 2 View
Hi everyone I need a file with a dirty and clean potato image
04 August 2024 7,199 4 View
Molecular docking software/ websites?
02 August 2024 8,704 7 View
Can we patent a process flow diagram developed using a process simulator but no actual cases is carried out? For example consider a process for certain product manufacture where a new process flow...
31 July 2024 781 1 View
I am working on algal extract to which gas chromatography (Not GC-MS) spectrum I want to discover. My question is can we identify specific compounds using retention time if I compared the RT with...
29 July 2024 8,034 4 View
I want to write a topic for my PhD thesis in hospitality (hotels), can u please suggest some variables
29 July 2024 9,058 3 View
Time-Frequency Domain
19 July 2024 8,031 2 View
Dear Colleagues, I hope this message finds you well. My name is Noor Al-Huda K. Hussein,and I am a researcher specializing in deep learning applications in genetic data analysis. I am currently...
18 July 2024 5,562 0 View
Dear Colleagues, I hope this message finds you well. My name is Noor Al-Huda K. Hussein, and I am a researcher specializing in deep learning applications in genetic data analysis. I am currently...
16 July 2024 3,981 6 View
I am currently testing the effect of bacterial filtrates on cancer cells , after seeding the cells I tested the bacterial filtrates against them , and got images of all 96 wells using inverted...
10 July 2024 7,145 2 View
Program: g_mmpbsa, version 2024.1 Source file: extrn_apbs.cxx (line 152) Fatal error: Failed to execute command: $APBS pybYcUWA.in --output-file=pybYcUW.out
07 August 2024 6,066 0 View
Is this circle one of the rings?
03 August 2024 5,988 0 View
I am new to Micromechanics and having similar problem with understanding the implementation of the formula's. I would appreciate if anyone can guide me on how to go about getting a scalar value...
30 July 2024 969 0 View
I want to draw ph diagram using Engineering equation solver EES for refrigerant R134a and R1234fy and some other. I don't know how to draw the multiple ph diagram on same dome or overlapping to...
30 July 2024 647 7 View
Are students in the MBA program in Fisheries Enterprises Management eligible to work in the aquaculture industry abroad? Could you explain the foreign countries interested in recruiting...
28 July 2024 8,378 2 View
How can we calculate the percentage of configuration interaction (CI) in the UV output data of the Gaussian program? for example: Excited State 17: Singlet-A 5.1359 eV 241.41 nm...
28 July 2024 9,165 2 View
Please, what is the memory consumption of the Matlab function quad tree decomposition procedure [S = qtdecomp(I)] with respect to the input set I?
27 July 2024 5,455 2 View
I need to install this program
25 July 2024 4,756 0 View
Hello, I am a research scholar currently working on a project involving image segmentation, and I am interested in using differential evolution for this purpose . I would greatly appreciate it if...
25 July 2024 9,926 1 View
Do You Believe VP Harris Would Show Empathy to Tech Companies in Her Administration as POTUS? I ask in light of the fact that, the ACP was not re-funded this round. So many and businesses need...
24 July 2024 4,732 3 View