Answered
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) ...

7 years ago | 0

| accepted

Question


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 ...

8 years ago | 1 answer | 1

1

answer

Answered
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');

8 years ago | 0

| accepted

Answered
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...

8 years ago | 0

| accepted

Answered
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); ...

9 years ago | 0

Answered
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...

9 years ago | 1