how do i now use the user provided data?
Show older comments
clear
clc
stu_id=0.2529;
prompt = {'Gravity (g):','Angle (a):','iv (V0):'};
dlg_title = 'Enter the values for';
num_lines = 1;
def = {'9.81','35','25.820880000000002'};
answer = inputdlg(prompt,dlg_title,num_lines,def);
how do i now use the user provided data? imagine if i want to display the F = Gravity (g) * Angle (a)
Accepted Answer
More Answers (1)
Walter Roberson
on 24 Feb 2011
0 votes
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!