Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

confused regarding scaling of axis for an array?

1 visualizzazione (ultimi 30 giorni)
Maneesh T
Maneesh T il 12 Dic 2015
Chiuso: MATLAB Answer Bot il 20 Ago 2021
I have an array of 161*2 with one column1 as step size of 1 and corresponding values in another column. Now I want 10000 points for column 1 and also for intermediate values for column2?

Risposte (1)

dpb
dpb il 12 Dic 2015
doc interp1
  3 Commenti
Image Analyst
Image Analyst il 12 Dic 2015
He answered your second question - look up interp1.
For the first question, use markers in your plot string. For example to show the points as blue asterisks with lines between then, do this
plot(column2, 'b*-', 'LineWidth', 2);
grid on;
dpb
dpb il 12 Dic 2015
But even the largest of monitors won't have but ~2k resolution so what's the point? Only 1 of 5 points can possibly be shown separately. I few over the original, ok, I can see that, but the rest is overkill for no real purpose...

Questa domanda è chiusa.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by