Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Math function and plotting

1 visualización (últimos 30 días)
Nhut Ngo
Nhut Ngo el 5 de Mzo. de 2020
Cerrada: MATLAB Answer Bot el 20 de Ag. de 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.

Respuestas (1)

James Tursa
James Tursa el 5 de Mzo. de 2020
You need to change that matrix divide operator / to an element-wise divide operator ./ with the dot.
  1 comentario
Nhut Ngo
Nhut Ngo el 5 de Mzo. de 2020
Thank you.

La pregunta está cerrada.

Community Treasure Hunt

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

Start Hunting!

Translated by