Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Math function and plotting

1 vue (au cours des 30 derniers jours)
Nhut Ngo
Nhut Ngo le 5 Mar 2020
Clôturé : MATLAB Answer Bot le 20 Août 2021
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.

Réponses (1)

James Tursa
James Tursa le 5 Mar 2020
You need to change that matrix divide operator / to an element-wise divide operator ./ with the dot.
  1 commentaire
Nhut Ngo
Nhut Ngo le 5 Mar 2020
Thank you.

Cette question est clôturée.

Community Treasure Hunt

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

Start Hunting!

Translated by