Math function and plotting
Informazioni
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
Mostra commenti meno recenti
Hi,
I'm trying to plot that function y. I have matrix 1x11 x, then I think I should have 1x11 y. But I don't know why I only have one value of y. Please tell me why I'm wrong. Thank you.

Risposte (1)
James Tursa
il 5 Mar 2020
1 voto
You need to change that matrix divide operator / to an element-wise divide operator ./ with the dot.
1 Commento
Nhut Ngo
il 5 Mar 2020
Questa domanda è chiusa.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!