Borrar filtros
Borrar filtros

changing assigned name from left side to right side (function input)

2 visualizaciones (últimos 30 días)
Kamuran
Kamuran el 28 de Abr. de 2015
Editada: per isakson el 28 de Abr. de 2015
Hello
I am trying to automate and make it flexible function inputting from user:
syms F var
var = input('Variable is : ' , 's');
% I want to know which variable user wants to use like x, y, z
U_test=input('Enter the test function U_test= ');
% and user will input something like t^4+3*t or x^5
in order to this to work I need a command that would var - t allow to use interchangeably. Between two lines.
Anybody have any idea?

Respuestas (0)

Categorías

Más información sobre Symbolic Variables, Expressions, Functions, and Preferences en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by