I am new to matlab. I am just trying to have some fun building my own equations with prompts. I was trying to write a code for a simple kinematic equation, like x=x_0+v_0*t
I tried this, and it works:
I did some searching on here for prompting, and found a funny version. So I tried this which was fun:
x = input('How about sending an x value over this way?');
if isscalar(x) && isnumeric(x); break; end
y = input('Groovy. Got a spare y value too?');
if isscalar(y) && isnumeric(y); break; end
My question is, how could I set up this kinematic equation, and prompt for the variable I want to solve for?