how to do it

1 visualizzazione (ultimi 30 giorni)
Rizwana
Rizwana il 21 Gen 2014
Commentato: Rizwana il 21 Gen 2014
I have radius in range 24.94 to 27.30. I want 264 intermediate points. How to do it using matlab

Risposta accettata

Mischa Kim
Mischa Kim il 21 Gen 2014
Use
x = linspace(24.94, 27.30, 266)

Più risposte (1)

David Sanchez
David Sanchez il 21 Gen 2014
a fastest way than linspace:
ini = 24.94;
last = 27.3;
samples = 264;
x2 = ini:(last-ini)/(samples+1):last;

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by