回答済み
How does this Mandelbrodt Set code work?
Not to give it away _too_ easily, see <https://www.bowdoin.edu/~dfrancis/askanerd/mandelbrot/ <Mandelbrot>>. You should underst...

約10年 前 | 0

回答済み
How to insert multiple legends in a figure
From help legend ... You can only display one legend per axes. ... ... So you can't do what you've asked for ...

約10年 前 | 0

回答済み
How to plot two graphs generated by different files together on the same axis?
You'll have to modify the function to allow you to plot the second on the existing axes or write a top level function (or do it ...

約10年 前 | 0

回答済み
How to pick data from one set with a condition from another?
1. Assume the window position is in an array _posn_; use whatever is your variable, obviously. iOpen=[false diff(posn)==1];...

約10年 前 | 1

| 採用済み

回答済み
Extracting rows from one matrix and place it into another matrix based on a certain condition using a while loop
K=kurtosis(X(:,3); % only test for Z so just compute it B=[]; % accumulator for B while K...

約10年 前 | 0

回答済み
Setting time on X-axis for over 24 hours
Time axes in Matlab are in either (traditional) *datenum* to use *datetick* or the newer time class (R2014?, maybe?). But, neit...

約10年 前 | 0

回答済み
Average certain rows in 3D matrix
Can you write an expression to select the desired rows? If so, simply ix=[4:6 9 11...]; % whatever is the logic to select...

約10年 前 | 0

回答済み
polynomials with increasing order
doc polyval *NB:* For higher orders numerics for polynomials get bad quickly. You can help somewhat by using the standard...

10年以上 前 | 0

回答済み
How to change the direction of axis name?
xlabel('X-Direction','rotation',20) ylabel('Y-Direction','rotation',-20)

10年以上 前 | 1

| 採用済み

回答済み
Remove the lines in-between two different error bar
N=length(mn); % size of vectors for augmented row errorbar(reshape([reshape(mn,2,[]);nan(1,N)],1,[]), ... resh...

10年以上 前 | 0

回答済み
How Find last row in excel
Not determinable unless ActiveX/COM interaction is an Excel method. In "just Matlab" best you could do would be data=xlsrea...

10年以上 前 | 1

回答済み
Subplotting error with velocity vs time graph
vel=dkm./thour; Need the dot operator here...

10年以上 前 | 0

| 採用済み

回答済み
How to shift a matrix by a specified number of points
'Pends on what you want to happen w/ the rest of the data...it's trivial enough to simply augment a vector with zeros on either ...

10年以上 前 | 0

回答済み
How to combine multiple csv into 1 csv file?
TMW hasn't implemented much in the way of the OS inside Matlab; use the OS instead... rootdir='C:\Users\Kenny\Desktop\skrip...

10年以上 前 | 0

回答済み
Problem with plot array of signals(by row) and x axis
Problem is trying to put negative linearly-spaced values on a log axis; they don't fit all that well... The x-axis is the ord...

10年以上 前 | 0

回答済み
How do I loop over .csv files with dates as the file name?
I suggest using matching *dir* pattern instead of building the specific file name (although that's easily-enough done by using t...

10年以上 前 | 0

回答済み
How to fix this boxplot.. My data has so many values which are zero, i want to get rid of them in my analysis!
OK, on reflection I believe my previous comment actually is an Answer -- so deleted it and moved it with some refinements here. ...

10年以上 前 | 0

回答済み
Importing data without knowing number of columns
There is _IF_ (the proverbial "big if") the data are all numeric; then *textscan* with an empty format field will automagically ...

10年以上 前 | 1

回答済み
How to change the mean value in the box plot?
Building off of Cyclist's demo and the comments I made earlier-- x = randn(1000,3); boxplot(x) h = findobj(gca,'Tag',...

10年以上 前 | 0

回答済み
how can I search an excel document and extract only the data I need
With Matlab itself, you can't. Read the file and do the selection from the data in memory; it'll bound to be much faster than i...

10年以上 前 | 0

回答済み
How to write a function for a nxm matrix
_"divide rows by the sum of the column for any size matrix."_ x=bsxfun(@rdivide,x,sum(x)); *bsxfun* takes care of the si...

10年以上 前 | 0

| 採用済み

回答済み
How can i add all column values in a pattern and save simultaneously?
Px=fliplr(cumsum(fliplr(C))); PS. In future, don't whine, it isn't becoming... :) *PPS* You can avoid one function c...

10年以上 前 | 0

| 採用済み

回答済み
how can I multiply a vector by scalar?
You get the error because C isn't a vector but a cell _containing_ a vector. You can work around it by C=C{:}*2.7; % r...

10年以上 前 | 0

回答済み
How to combine multiple arrays ?
C=reshape([a b c].',[],1);

10年以上 前 | 1

| 採用済み

回答済み
How to plot this in matlab?
ix=gAll>yLim; % yLim would be -22 for the above wished-for case... x=[1:length(gAll)]; % x vector to plot to satisf...

10年以上 前 | 0

回答済み
Importing same file name from multiple folders and find out maximum and minimum of each file?
Here's a location where the OS has better tools than have been carried over into Matlab. I'd do something like [~,d]=syste...

10年以上 前 | 0

回答済み
Axis for Plotyy for Multiple plots
[hAx,hL1,hL2] = plotyy(x1,y1,x1,y2); set(hAx,'NextPlot','add') plot(hAx(1),x1,y3,'-r','LineWidth',1.5) plot(hAx(2),x1...

10年以上 前 | 0

| 採用済み

回答済み
Removing rows based on numerical value
Presuming _"...only want to keep the rows that have zeros in the decimal places"_ means the integer-valued locations, then lose ...

10年以上 前 | 0

回答済み
How do I get the calculation of results column Max, Max row and max?
The major work is done by the <http://www.mathworks.com/help/images/ref/radon.html <radon>> function from the Image Processing T...

10年以上 前 | 0

回答済み
Changing Matrix value at odd position of row with reference to a certain column
ix=ismember(M,[1 0 0 0 0],'rows'); M(ix,:)=zeros(sum(ix),5); To generalize store the target and result vectors in arrays...

10年以上 前 | 0

さらに読み込む