MATLAB Answers


This question is closed. Reopen it to edit or answer.

I want to solve this equation and plot it but lot of errors are coming kindly help

1 view (last 30 days)
Arslan Ahmad
Arslan Ahmad on 4 May 2017
Closed: MATLAB Answer Bot on 20 Aug 2021

Answers (1)

Santhana Raj
Santhana Raj on 5 May 2017
Matrices multiplication can be element by element or vector multiplication. For element by element, which I assume you want, the operator is
Secondly, ln is not a function in matlab. Use log.
Thirdly, I think you want x to be from 0 to 3. whatever you have written will create 4 elements. [0 1 2 3]. I am assuming that you want to do [0:0.1:3]
Fourthly, are you sure you want the difference and not the derivative.

Community Treasure Hunt

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

Start Hunting!