Borrar filtros
Borrar filtros

I need to plot "e" by function of all values of "dm" i but can't do it please help

2 visualizaciones (últimos 30 días)
clc
clear all
F=2000 ;
dm=[12: 5: 37];
f=0.2 ;
l=2 ;
Q= ((F.*dm)/2)*((l+(pi*f.*dm)/((pi.*dm)-(f*l)))) ;
e= (F*l)/(2*pi.*Q);
plot(dm,e)

Respuesta aceptada

Stephan
Stephan el 22 de Abr. de 2021
Editada: Stephan el 22 de Abr. de 2021
F=2000 ;
dm=[12: 5: 37];
f=0.2 ;
l=2 ;
Q= ((F.*dm)/2)*((l+(pi*f.*dm)/((pi.*dm)-(f*l)))) ;
e= (F*l)./(2*pi.*Q);
% ^
% |
% --- elementwise division - "/" is a matrix operator
plot(dm,e)

Más respuestas (0)

Categorías

Más información sobre Line Plots en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by