Community Profile

photo

alpedhuez


Last seen: Today
318 2017 이후 총 참여 횟수

alpedhuez's 배지

  • Thankful Level 4

세부 정보 보기...

참여 게시물
보기 기준

질문


Can one save the filename as a variable in 'readtable'?
Suppose I use T=readtable('texas,csv') I want to save the name of the file (texas) as a variable. Please advise.

약 3시간 전 | 답변 수: 1 | 0

1

답변

질문


how to use "fullfile" with exportgrahics
One can use fullfile for saveas saveas(gcf, fullfile(directory, fileName),'jpeg') But when I try to use exportgraphics(gcf,...

2일 전 | 답변 수: 1 | 0

1

답변

질문


Does one rename variable names after reading data? Part 2
In a previous post. I learned that "It might appear "cumbersome" to type "T." again and again, but in the long run, you will r...

2일 전 | 답변 수: 0 | 0

0

답변

질문


Does one rename variable names after reading data?
Suppose I do T=readtable(test.xls) It will create variables such as T.variable1 T.variable2 It might be cumbersome to type ...

2일 전 | 답변 수: 1 | 0

1

답변

질문


linear fit for dates that do not have data
Suppose I have table such as Date Visitors ------------------------------------- "January 1" 10 "January 2"...

3일 전 | 답변 수: 1 | 0

1

답변

질문


Matlab livescript tab size
I would like to know how one can set the tab and indent size of livescript. I see https://www.mathworks.com/matlabcentral/answ...

5일 전 | 답변 수: 1 | 0

1

답변

질문


Can one define a "directory" as a "variable"?
Suppose I want to use readtable to read a file. I understand the format readtable('C:\myFolder\myFile.xlsx') readtable('C:\my...

5일 전 | 답변 수: 1 | 0

1

답변

질문


How can one extract a column based on a value of another column?
I have a two column matrix A. The first column takes a value of 0 or 1. I want to extract the elements of the second column acco...

3달 전 | 답변 수: 1 | 0

1

답변

질문


How can one specify where the plot will be shown in Livescript?
I have livescript and have plot and various plot specifications. I choose "Output inline." Currently the plot is displayed after...

4달 전 | 답변 수: 1 | 0

1

답변

질문


Multiple histograms and what will be the best way to put mean and std of data into a plot?
I will have three histograms in one plot histogram(A) hold on histogram(B) hold on histogram(C) I now want to get mean ...

4달 전 | 답변 수: 1 | 0

1

답변

질문


create a vector of 0 and 1s that takes 1 at a fixed interval
I would like to create a vector of 0s that takes 1 at a given (m) interval. For example, if m=2, the vector will be like 0,0,1,...

4달 전 | 답변 수: 3 | 0

3

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 2 | 0

2

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 0 | 0

0

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 0 | 0

0

답변

질문


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

4달 전 | 답변 수: 2 | 0

2

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 2 | 0

2

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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

4달 전 | 답변 수: 1 | 1

1

답변

질문


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

4달 전 | 답변 수: 0 | 0

0

답변

질문


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

4달 전 | 답변 수: 1 | 0

1

답변

질문


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?

4달 전 | 답변 수: 1 | 0

1

답변

Load more