Write a vector z with y
Show older comments
How am I able to write z as an vector in matlab? Please look at the attached file. Btw y= x - 4sin(2x)-4
Answers (1)
Torsten
on 22 Mar 2022
z = sign(y)
Categories
Find more on Get Started with MATLAB in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!