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.

 Réponse acceptée

Matt J
Matt J le 15 Jan 2019

0 votes

Use the vectorize command.

1 commentaire

S H
S H le 15 Jan 2019
Amazing. I didn't know about this command. Thank you.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Symbolic Math Toolbox dans Centre d'aide et File Exchange

Question posée :

S H
le 15 Jan 2019

Commenté :

S H
le 15 Jan 2019

Community Treasure Hunt

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

Start Hunting!

Translated by