Borrar filtros
Borrar filtros

how to write equation in matlab ?

20 visualizaciones (últimos 30 días)
ajeet verma
ajeet verma el 22 de Ag. de 2017
Respondida: khalid salim el 8 de Nov. de 2019
this is some different type of equation so i am confused how to write code for the equation in attached file, please help please see attached file
  4 comentarios
ajeet verma
ajeet verma el 22 de Ag. de 2017
how to write text both side on y axis of any graph as shown in attached file
Torsten
Torsten el 22 de Ag. de 2017
https://de.mathworks.com/help/matlab/ref/yyaxis.html
Best wishes
Torsten.

Iniciar sesión para comentar.

Respuesta aceptada

Selva Karna
Selva Karna el 22 de Ag. de 2017
Editada: madhan ravi el 6 de Dic. de 2018
you have to write following equation:
Z=A^2+B^2-2ab
in MATLAB:
syms a b c z
z=(a^2+b^2-2*a*b)

Más respuestas (2)

aisha obaid alsuwaidi
aisha obaid alsuwaidi el 6 de Dic. de 2018
(4 * x^4 - 2 * x^(-7/4) - x^(-2))

khalid salim
khalid salim el 8 de Nov. de 2019
s = @(x) (1-0.4*(cos(x/100))).*(0<=x & x<=511);
x = linspace(0, 500);
R = s(x);
figure(1)
plot(x,R)
axis([xlim 0 1.5])
% intensity function
f=1/20;
x = linspace(0, 500);
I=@(x) (R(x).*sin(2*pi*f*x));
plot(x,I)
axis([xlim 0 1.5])

Community Treasure Hunt

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

Start Hunting!

Translated by