回答済み
How can I implement an array of function handles that takes a struct as input and calculates the function value for each function handle?
Hello Carolin, you can evaluate functions in a loop: >> values = zeros(1,length(test)); >> for k = 1:length(test) ...

9年弱 前 | 0

| 採用済み

質問


Accumarray strange behaviour when working on characters.
Hello, recently I've been doing <http://www.mathworks.co.uk/matlabcentral/cody/problems/2653-beauty-of-parentheses some string ...

9年以上 前 | 1 件の回答 | 1

1

回答

回答済み
when normlize the the output is not between [-1 1]
Your input is a column vector but mapminmax works on rows. Try: [r,s]=mapminmax(m');

10年弱 前 | 0

| 採用済み

回答済み
How I obtain with function bar3 different sizes for each bar in MATLAB?
Hello José, I hope I've understood you correctly. Do you want bars to be cubes which edges are given by array 'values'? If s...

10年弱 前 | 0

| 採用済み

回答済み
how to vectorized a nested for loop?
Hello Mohammed, there are many ways to vectorize your loops. Check out those examples: 1. [r,c]=meshgrid(1:10,1:10); ...

約10年 前 | 0

回答済み
Beginner - using a function to find last word of a phrase?
Hello Michael, very useful function which can solve your problem is _regexprep_. You can read more about this function by typ...

約10年 前 | 1