[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with the polar commend

From: Doug Stewart
Subject: Re: problem with the polar commend
Date: Mon, 7 Jan 2019 17:35:31 -0500

On Mon, Jan 7, 2019 at 4:51 PM insafba <address@hidden> wrote:
Hello there,
I have a pretty long equation that I want to plot using polar coordinates.
Please see the equation below
The problem is when I write it in octave and trying to plot it using
polar(theta, r), the figure is empty!! nothing is plotted!
could you please help me with this? thank you so much

here is the code

theta= 0:0.02:2*pi;

r = sqrt(((b^2).*(cos(theta)).^2 + (a^2).*(sin(theta)).^2 -
abs((b^2).*(cos(theta)).^2 + (a^2).*(sin(theta)).^2)) ./
This should be a minus        ^


polar(theta, r)

Sent from:

DASCertificate for 206392

reply via email to

[Prev in Thread] Current Thread [Next in Thread]