![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3621872_1522097224901_DEF.jpg)
Udit Gupta
Followers: 0 Following: 0
Professional Interests: Signal Processing, Eclectro-acoustics, Machine Learning, Music Information Retrieval
統計
All
Feeds
質問
'subsindex' error when setting figure position. What is going on?
I am trying to resize a figure as shown H = figure; set(H,'Position',[200 200 800 200]) I get the error Function...
8年弱 前 | 1 件の回答 | 1
1
回答送信済み
saveaspub(h, name, format)
Save Matlab plots and figures for publication as pdf or eps vector formats.
8年弱 前 | ダウンロード 1 件 |
質問
Why is there a permission error when repeat writing to excel file?
I am writing results of multiple analyses to different sheets of the same excel file using "writetable" command. The first inst...
8年弱 前 | 11 件の回答 | 6
11
回答回答済み
Text in a figure: Increasing Font Size
You can either include the option 'manual' in your *clabel* call and use your mouse to place the labels; or you can use the 'Lab...
Text in a figure: Increasing Font Size
You can either include the option 'manual' in your *clabel* call and use your mouse to place the labels; or you can use the 'Lab...
8年弱 前 | 0
| 採用済み
回答済み
Help with data extraction script
Try using the *readtable* function. This imports tabular data into matlab. Alternatively you can use the "Import Data" button...
Help with data extraction script
Try using the *readtable* function. This imports tabular data into matlab. Alternatively you can use the "Import Data" button...
8年以上 前 | 0
回答済み
How to design a bandpass filter
The easiest way is to use the Filter Design and Analysis Tool. Just type |fdatool| in matlab command window. This needs Signal P...
How to design a bandpass filter
The easiest way is to use the Filter Design and Analysis Tool. Just type |fdatool| in matlab command window. This needs Signal P...
8年以上 前 | 0
回答済み
Merging two tables based on time interval
You can use t = interp1(sample_time,tableB.Time,'nearest'); if abs(sample_time-t <= 40/(24*60)) <Update medicat...
Merging two tables based on time interval
You can use t = interp1(sample_time,tableB.Time,'nearest'); if abs(sample_time-t <= 40/(24*60)) <Update medicat...
8年以上 前 | 0
解決済み
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
8年以上 前
解決済み
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
8年以上 前
送信済み
Publish Latex Equation
Output a latex formatted string as an image in while publishing
8年以上 前 | ダウンロード 1 件 |
回答済み
how to calculate the probability under a pdf curve and divide it into different sections (areas)?
Assuming you have the curves as a matlab vector, you can use the *trapz* function to find area under it. See http://www.mathw...
how to calculate the probability under a pdf curve and divide it into different sections (areas)?
Assuming you have the curves as a matlab vector, you can use the *trapz* function to find area under it. See http://www.mathw...
8年以上 前 | 1
回答済み
weighted average w/ matlab
You can do something like - weight=normpdf(range,centerPoint,spread); wAvg = sum(Y(range).*weight)/sum(weight); In you...
weighted average w/ matlab
You can do something like - weight=normpdf(range,centerPoint,spread); wAvg = sum(Y(range).*weight)/sum(weight); In you...
9年弱 前 | 1
| 採用済み
質問
Is there a way to convert function handles to nan equivalent function handles?
I am passing a cell array of function handles to my function. Typically a user might pass something like- {@sum,@median,@mea...
9年弱 前 | 1 件の回答 | 0
1
回答回答済み
How to find t test of two independent samples in MatLab?
Use the function *ttest2* from matlab statistics toolbox. (http://www.mathworks.com/help/stats/ttest2.html)
How to find t test of two independent samples in MatLab?
Use the function *ttest2* from matlab statistics toolbox. (http://www.mathworks.com/help/stats/ttest2.html)
約9年 前 | 2
| 採用済み
回答済み
Anyone know the error checking for special characters
You can use regular expressions. The code will go something like this - if any(regexp(str,'[^_a-zA-Z0-9]+')) <error c...
Anyone know the error checking for special characters
You can use regular expressions. The code will go something like this - if any(regexp(str,'[^_a-zA-Z0-9]+')) <error c...
約9年 前 | 0
回答済み
Save PDF for Latex problems in resolution
I do the following operations before saving my figures for latex set(gcf,'Units','Inches'); pos = get(gcf,'Position'); s...
Save PDF for Latex problems in resolution
I do the following operations before saving my figures for latex set(gcf,'Units','Inches'); pos = get(gcf,'Position'); s...
約9年 前 | 0
| 採用済み
回答済み
How to do a t-test with repeated measurements from 3 different devices?
You can do it in three steps. H1=ttest(X(1:30),12); H2=ttest(X(31,60),12); H3=ttest(X(61,100),12); If you wa...
How to do a t-test with repeated measurements from 3 different devices?
You can do it in three steps. H1=ttest(X(1:30),12); H2=ttest(X(31,60),12); H3=ttest(X(61,100),12); If you wa...
約9年 前 | 0
質問
How to make the legend selective?
I have a bunch of algorithms I am testing for statistical significance. I wrote a script to generate and save plots which I can ...
約9年 前 | 2 件の回答 | 0
2
回答質問
Wrong color showed by "imagesc" function, what am I doing wrong?
Hi I have a 3x3 matrix of p-values and I want to display it using a colored grid. I am using the "imagesc" function with a "Copp...
9年以上 前 | 1 件の回答 | 0
1
回答回答済み
Prediction based on previous historical data
You can use mtlabs Curve Fitting tool (cftool). If you don't have that search for any linear regression or linear interpolation ...
Prediction based on previous historical data
You can use mtlabs Curve Fitting tool (cftool). If you don't have that search for any linear regression or linear interpolation ...
9年以上 前 | 0
回答済み
Batch process text files
You can use - fileName = [input_directory filelabels(i).name]; That should solve the issue.
Batch process text files
You can use - fileName = [input_directory filelabels(i).name]; That should solve the issue.
9年以上 前 | 0
| 採用済み
回答済み
how to generate random points in a line
For each line (edge) of the polyhedron you can write it's equation as (y - y1) = (y1 - y2)(x - x1)/(x1 - x2) So in case...
how to generate random points in a line
For each line (edge) of the polyhedron you can write it's equation as (y - y1) = (y1 - y2)(x - x1)/(x1 - x2) So in case...
9年以上 前 | 0
| 採用済み
質問
How to check if a figure is closed using the big red 'X' mark?
Hi! I am using a gui in my application. There are 'Ok' and 'Cancel' buttons there which upon clicking close the figure and do so...
9年以上 前 | 1 件の回答 | 2
1
回答質問
Is there a tool/method to determine the versions of Matlab my code is compatible with.
Hi! I sometimes have to distribute Matlab code to my students. I work with a university site license, so I usually have the late...
約10年 前 | 1 件の回答 | 0
1
回答回答済み
creating a data array from a matrix
This is simple if you use matlab lower triangle functions. See the example code below please. A = magic(39) % Your Martix ...
creating a data array from a matrix
This is simple if you use matlab lower triangle functions. See the example code below please. A = magic(39) % Your Martix ...
約10年 前 | 2
回答済み
Cell contents assignment to a non-cell array object.
Instead of x=input('Dame el valor x0 inicial'); x{1}=x; use temp=input('Dame el valor x0 inicial'); x{1}=temp;
Cell contents assignment to a non-cell array object.
Instead of x=input('Dame el valor x0 inicial'); x{1}=x; use temp=input('Dame el valor x0 inicial'); x{1}=temp;
約10年 前 | 0
回答済み
Replacing the column of array elements with NaN.
This should do the trick - |index1 = A(:,1)<x(1,1) | A(:,1)>x(1,2);| |index2 = A(:,1)<x(2,1) | A(:,1)>x(2,2);| |A(index...
Replacing the column of array elements with NaN.
This should do the trick - |index1 = A(:,1)<x(1,1) | A(:,1)>x(1,2);| |index2 = A(:,1)<x(2,1) | A(:,1)>x(2,2);| |A(index...
約10年 前 | 0
回答済み
where did tstool go?
This is from the documentation "tstool will be removed in a future release. To create a time series object, use timeseries...
where did tstool go?
This is from the documentation "tstool will be removed in a future release. To create a time series object, use timeseries...
約10年 前 | 0
| 採用済み
回答済み
Extend a vector by extending its elements
If your vector is X. reshape(repmat(X,d,1),1,[]) should do the trick. Example - >> X = [1 2 3 4]; >> d=4; ...
Extend a vector by extending its elements
If your vector is X. reshape(repmat(X,d,1),1,[]) should do the trick. Example - >> X = [1 2 3 4]; >> d=4; ...
約10年 前 | 1
| 採用済み