Get a set of arrays as input from user in matlab function
Mostra commenti meno recenti
Hello! Every one
i want to write a function which gets array input with the help of statements:
Function be like
function Out = my_fun(P1,P2)
where P1 and P2 arrays two set of arrays..
The output be like
Insert P1 :
Insert P2 :
1 Commento
madhan ravi
il 14 Feb 2019
You forgot to mention how the output should look like , illustration would prevent the delay in answering your question.
Risposte (1)
KSSV
il 14 Feb 2019
Read about input
prompt = 'Enter Array:';
x = input(prompt) ;
Categorie
Scopri di più su Matrix Indexing in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!