how to have the same shape on matlab?

Hello everyone, I got the first figure in another software, and I wish to have the same result on matlab. I get a shape that is close to the desired result but not the same ... Help me please.
dataset=xlsread('tabl.xlsx','tableau','B2:C131');
x=dataset(:,1);
y=dataset(:,2);
[t,r] = cart2pol(x-mean(x),y-mean(y));
polarplot(t, r, '-g');
you will find attached the form I want, the form I get and the table of data.

Réponses (1)

madhan ravi
madhan ravi le 4 Nov 2018

0 votes

I suspect both the figures are the same (maybe wrong) just the scalings are different .

3 commentaires

fati jadid
fati jadid le 4 Nov 2018
how can I solve this problem?
madhan ravi
madhan ravi le 4 Nov 2018
see rlim
fati jadid
fati jadid le 4 Nov 2018
it did not work :/

Connectez-vous pour commenter.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by