Community Profile

photo

alpedhuez


Last seen: Today
307 total contributions since 2017

alpedhuez's Badges

  • Thankful Level 4

View details...

Contributions in
View by

Question


can calculate mean but not std
I have a vector A. I can myavg=mean(A) myavg=0,3 but stDev=std(A) will give "Array indices must be postiive integers or...

alrededor de 5 horas ago | 1 answer | 0

1

answer

Question


How can one put mean and std of the data into histogram using annotation?
https://www.mathworks.com/matlabcentral/answers/303281-i-am-new-to-matlab-i-want-to-display-the-standard-deviation-and-the-mean-...

alrededor de 5 horas ago | 0 answers | 0

0

answers

Question


A function that outputs multiple plots? Part 2
In a previous question, one learned a function without output and output plots. https://www.mathworks.com/matlabcentral/answer...

alrededor de 7 horas ago | 1 answer | 0

1

answer

Question


opengl and liveeditor error
After I followed https://www.mathworks.com/matlabcentral/answers/575557-matlab-has-disabled-some-advanced-graphic-rendering-fe...

alrededor de 11 horas ago | 0 answers | 0

0

answers

Question


A function that outputs multiple plots?
Can one write a function that outputs multiple plots? https://www.mathworks.com/matlabcentral/answers/116996-how-to-write-a-fu...

alrededor de 12 horas ago | 1 answer | 0

1

answer

Question


how can one create a new color?
I create a new color (that is, a new RGB setting). How can one save it as a new color so that I do not need to type RGB each tim...

alrededor de 14 horas ago | 1 answer | 0

1

answer

Question


extract mth and m+1st largest element from a vector
maxk find the largest elements of an array. Then, is there a function that allows to extract a general mth and m+1st highest ele...

8 días ago | 1 answer | 0

1

answer

Question


Matlab livescript copy and paste
I want to move, let me say, 200 lines of code in Livescript (in one section) to the end of the script (say). Is there any way be...

8 días ago | 0 answers | 0

0

answers

Question


fminbnd got stock in local minimum: can global search deal with the problem defined by cases?
I plot the value of a function over the possible values and also run fminbnd. I find out that fminbud got stuck in a local minim...

8 días ago | 2 answers | 0

2

answers

Question


How can one write a program to do this? (fminbnd)
I define a function function out = test(x) y=x^2; z=y+1; out=z end Then I run fminbnd(@(x) test(x),0,1) ...

9 días ago | 1 answer | 0

1

answer

Question


Why is it that the breakpoint does not work?
I define some function. I set a breakpoint in the first line after the function definition statement. But when I run the program...

9 días ago | 2 answers | 0

2

answers

Question


"Matlab has disabled some advanced graphic rendering features"
I got the following. What is the next step? t = tiledlayout(1,1,'Padding','none'); Warning: MATLAB has disabled some advanced...

9 días ago | 1 answer | 0

1

answer

Question


How can one install some font for Matlab on Ubuntu?
How can one know some fonts are available for Matlab on Ubuntu? How can one install some fonts on Ubuntu using https://wiki.ubu...

9 días ago | 1 answer | 0

1

answer

Question


"unable to classify the variable in the body of the parfor-loop"
I tried X=ones(b*n,5) parfor (a=1:n, 12) Y=X((a-1)*b+1:1:a*b,3:4); sorted=sort(Y(:)); Z=sorted(en...

10 días ago | 1 answer | 0

1

answer

Question


mlx file in Ubuntu
I create a mlx file on Ubuntu and try to save it. Then it is saved actually as a folder with matlab, metadata, and _rels folders...

10 días ago | 1 answer | 0

1

answer

Question


fminbnd loop leads to same optimizer
I have a matrix of parameter A that is 2*2 matrix and other matrix B. The solution matrix C that is 2*1 Then I run for i=1:1:2...

10 días ago | 1 answer | 1

1

answer

Question


Current function value: NaN
I use options = optimset('PlotFcns',@optimplotfval); [x,fval,exitflag,output] = fminbnd(fun,x1,x2,options) to get informati...

10 días ago | 0 answers | 0

0

answers

Question


parfor: unable to classify
I got the following error message for parfor. Please advise. Error: Unable to classify the variable 'x' in the body of the p...

10 días ago | 1 answer | 0

1

answer

Question


Put data into bins with pre-specified intervals
I have data distributed over [0,1]. I want to put data into pre-specified bins such as 0:.1:1. How can one do this?

10 días ago | 1 answer | 0

1

answer

Question


Put data into bins with the equal number of elements
I have https://www.mathworks.com/matlabcentral/answers/182552-binning-data-in-equally-spaced-intervals that puts data into eq...

10 días ago | 1 answer | 0

1

answer

Question


How can one generate a matrix that the first column is larger than the second column?
In a previous question I have learned that, given a matrix, how to pick the rows that the first column entry is larger than the ...

11 días ago | 1 answer | 0

1

answer

Question


Choose rows that the first column is larger than the second column
I have an n*2 matrix A. I only want to have rows that the first column is larger than the second column. What is a simple way to...

11 días ago | 1 answer | 0

1

answer

Question


Error message of fminsearchbnd
I go the error message Exiting: Maximum number of function Evaluatoion has been exceeded Increase MaxFun Evals Option Current...

11 días ago | 1 answer | 0

1

answer

Question


How can one extract this vector from a matrix?
First, suppose I have a matrix M of 60 rows and 3 columns. Suppose each row is a month like January, February, ... so that every...

11 días ago | 2 answers | 0

2

answers

Question


How can one make this program work? (fmin question)
In Part 1, I have learned that x_optimal = fminbnd(@fun,0,2) function out=fun(x) if x<=1 out=x; else out=sqrt(x); end ...

12 días ago | 1 answer | 0

1

answer

Question


Can one set up initial values for fminbnd?
Can one set intial values for iteration for fminbnd? I do not find an option on the documenation: https://www.mathworks.com/hel...

13 días ago | 1 answer | 0

1

answer

Question


Can one use courier new in the text part of Livescript?
I want to use courier new or similar to denote a function in a text part of Livescript. Is it possible?

13 días ago | 1 answer | 0

1

answer

Question


Livescript: equation number
I edit Livescript and I write equations on Livescript using latex. Is it possible to number these equations like https://tex.s...

13 días ago | 1 answer | 0

1

answer

Question


How can one "summarize a matrix with the first four columns"?
First, I have a matrix like 1 2 3 4 1.1 1 2 3 4 3 1 2 3 5 4 2 3 4 1 6 ... Second, what I would like to do is to summ...

15 días ago | 1 answer | 0

1

answer

Question


Is there a simpler way to count the number of elements of a vector that is equal to a given number?
I have a vector v and a number a. I want to count the number of elements in v that is equal to a. What is a simpler way to do th...

15 días ago | 1 answer | 0

1

answer

Load more