Converting scalar equations to Vector Equations

How to change * to .* , / to ./ and ^ to .^ in a predefined equation that cannot be rewritten from scratch due to its length. Please check your answers to make sure they are working. I tried converting equation to character and modifying it and converting back to equation but it did not work for me.

 Accepted Answer

Use the vectorize command.

1 Comment

Amazing. I didn't know about this command. Thank you.

Sign in to comment.

More Answers (0)

Categories

Asked:

S H
on 15 Jan 2019

Commented:

S H
on 15 Jan 2019

Community Treasure Hunt

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

Start Hunting!