translate equation to matlab code
Show older comments

hellow I would like to translate this equation to matlab code, I am new to matlab language and syntax and would very much appreciate help.
1 Comment
David Goodmanson
on 17 May 2019
Hi Or,
If you are doing this numerically, as you probably already know, N = [1 2 3] creates a row vector, N = [1; 2; 3] creates a column vector.
Dot and cross functions are available in Matlab, see 'doc dot' and 'doc cross'. The cross function outputs a column vector if both inputs are column vectors, and a row vector otherwise.
Accepted Answer
More Answers (1)
Giuseppe
on 24 Apr 2024
0 votes
e^(-x^2)*sin(x)
Categories
Find more on Statics and Dynamics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!