Réponse apportée
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) ...

presque 11 ans il y a | 0

| A accepté

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

plus de 11 ans il y a | 1 réponse | 1

1

réponse

Réponse apportée
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');

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 11 ans il y a | 0

| A accepté

Réponse apportée
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); ...

environ 12 ans il y a | 0

Réponse apportée
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...

environ 12 ans il y a | 1