I want to write a function that allows me to input a certain number of guesses depending on the dimensions
Mostra commenti meno recenti
I want my function to look something like function[output] = guess(f,N) f will be an anonymous function and N will be the number of dimensions. If N is equal to 2 i want to make 3 initial guesses, if N is 3 I want four guesses and so on. for example if i input "guess(f,2)" Matlab would than ask me for guess1, than guess2, and than guess3.
Is it possible to do something like this within Matlab?
Risposta accettata
Più risposte (0)
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!