Error using / Matrix dimensions must agree.
Show older comments
x=(0:1:10);
fx=1.1288/sqrt(x)-tanh(1.3288*sqrt(x))
Answers (1)
KSSV
on 7 Jun 2021
x=(0:1:10);
fx=1.1288./sqrt(x)-tanh(1.3288.*sqrt(x))
Read about matrix element by element operations.
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!