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
during ultrasound examination of acute abdomen, sometimes we see free fluid , can we know the type of fluid ,whether blood or not , using ultrasound only? if yes , what are the sonographic...
01 March 2021 7,476 4 View
Is the period to autoclave not enough? The inoculation in a hood and flame and UV and alcohol.
27 February 2021 9,356 3 View
I need to be able to match in-text citations to a reference list and back again in very large documents (100+ pages) WITHOUT the use of referencing software like Endnote. my method is to type the...
27 February 2021 9,848 1 View
I want to publish paper in journal but I have figures which have drawn with bio-renders, can I put them in the paper or which other software I can use to draw them?
27 February 2021 8,179 1 View
What is the most suitable medium of ascomycetes fungi ??
26 February 2021 4,413 1 View
Using GDB, it is straightforward to debug and monitor a target program by setting a break-point at a specific instruction, since the instruction addresses are known. However, we have two...
24 February 2021 1,598 2 View
Hi everyone, I am just wondering if we incubated 200 microliter of whole blood with 50 microliter of cancer cells(1bout 5000cells) do you think that cancer would survive for 48 hours?
23 February 2021 3,840 3 View
Detecting the drug related problems is an important step in the pharmaceutical care plan
21 February 2021 5,421 3 View
We have a research project consisting of three variables where big data is the independent variable. Some previous studies showed that Volume, Variety, Velocity and Veracity Are the dimensions...
21 February 2021 8,133 2 View
Pico-scale This is three orders of magnitude smaller than a nanometer (and thus most nanotechnology) and two orders of magnitude smaller than most chemistry transformations and measurements. Pico...
18 February 2021 4,540 5 View
This is a Buck (step-down) Converter and I am new to this program. I need to program with simplified C block and I actually don't know what to do. Can anyone show me how to do this? Or at least...
02 March 2021 8,233 1 View
For my research i will need to measure plant quantitative traits (especially leaves area and roots length, but would be nice to add some more information). I recently discovered...
01 March 2021 5,035 2 View
Dear Researchers I am trying to perform a PIL simulation using STM32F4 Discovery board and comunication serial USB TO TTL. During simulation I receive the following timeout error: An error...
01 March 2021 2,327 1 View
The following code (see 1st 2 images attached) is used to produce PID controller values that are designed to control the system (G). The code finds the PID controller values (noted as k) by using...
28 February 2021 6,560 14 View
I have input and output data set for "ANFIS modeling in MATLAB", and I am getting some negative predicted values of output in testing. However, the predicted values of output in training are...
28 February 2021 3,459 3 View
I am required to learn about Flyback converters and I got stuck not knowing to full design of the power supply flyback converter Based USB Charger Model using Simulink, especially the design model...
25 February 2021 5,435 2 View
I do need the Matlab code of Fractal Discrete Cosine Transform (FDCT). Can anyone who has already implement this code, help me with the implementation of this transform?
24 February 2021 5,602 2 View
Hi Hope you are well. Can you please share your code for D2D implementation in Matlab. I want to implement D2D in Matlab based Vienna simulator and struggling to deploy D2D. Thanks
24 February 2021 9,378 3 View
Dear colleagues If anyone has a model of multi-effect distillation in EES or MATLAB software, please send it to me.
24 February 2021 7,282 1 View