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

casi 9 años hace | 0

| aceptada

Pregunta


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

más de 9 años hace | 1 respuesta | 1

1

respuesta

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

casi 10 años hace | 0

| aceptada

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

casi 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 1