Filter löschen
Filter löschen

What does it mean for THETA and RHO to be the same size?

8 Ansichten (letzte 30 Tage)
Bella Finkel
Bella Finkel am 6 Dez. 2015
Beantwortet: doghri ahmed am 18 Aug. 2016
I am trying to make a spirographic plot by identifying values for t and r, but when I use the function polar to plot them I receive the message "Error using polar THETA and RHO must be the same size." What does this mean and how can I fix it?

Akzeptierte Antwort

Geoff Hayes
Geoff Hayes am 6 Dez. 2015
Bella - the error message is telling you that the theta and rho inputs to the polar function must be of the same size or dimension. If the (for example) theta input is an nx1 array, then so must be the rho input. Ensure both are the same size and try again!
  1 Kommentar
Walter Roberson
Walter Roberson am 6 Dez. 2015
To add to this: theta is the first argument and rho is the second argument.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

doghri ahmed
doghri ahmed am 18 Aug. 2016
above what was mentioned above make sure that they are of the same shape too: both either column or row vectors.

Kategorien

Mehr zu Polar Plots finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by