Hello, I am trying to write my first function. i have couple of calculations in it and then plot.
my input variable is x, x will be a data set it will be a column.
how can I put name of x on plot labels. in this case for example Bmi
xlabel('frequency of'+ x)
I also want to add properties for my function. for example In mean function we can write mean(x,'all')
myfunction(x,'do only this')
as my last question i googled i couldnt find an answer that i understand. in matlab app creating, how can you import your data set in workspace into appdesigner