Math function and plotting
Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Ältere Kommentare anzeigen
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.

Antworten (1)
James Tursa
am 5 Mär. 2020
1 Stimme
You need to change that matrix divide operator / to an element-wise divide operator ./ with the dot.
1 Kommentar
Nhut Ngo
am 5 Mär. 2020
Diese Frage ist geschlossen.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!