how i can write sine square vs intensity graph?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos

0 comentarios
Respuestas (1)
Steven Lord
el 24 de Mzo. de 2023
The square of the sine of an angle:
A = pi/4;
sa = sin(A)
ssa = sin(A).^2
Note that trying to put the ^2 between the function name and the parentheses wouldn't work. I'm not going to run this because the syntax error would prevent MATLAB from running any code in this Answer.
% ssaWouldNotWork = sin.^2(A)
0 comentarios
Ver también
Categorías
Más información sobre Get Started with MATLAB 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!