Community Profile

photo

dpb


Last seen: Today 2012 이후 활성

Statistics

All
  • Revival Level 2
  • First Review
  • Master
  • Thankful Level 3
  • 36 Month Streak
  • Knowledgeable Level 5
  • First Answer
  • Solver

배지보기

Content Feed

보기 기준

답변 있음
Plot with bar side by side and with two y axes
You can't have two overlaying axes with the same x value and use bar with only a single variable because then the bars will alwa...

약 3시간 전 | 0

답변 있음
Renaming multiple excel sheets
Just name them as you want them when created them instead... %% Create a folder where the data will be saved OutputFolderName...

약 8시간 전 | 0

| 수락됨

답변 있음
Extract specific info out of file
txt=readlines('yourfile.txt'); writematrix('yournewfile.txt',txt(~contains(txt,'notpassed')),'filetype','text','quotestrings',0...

1일 전 | 1

답변 있음
transfer data from cells to tables
Sure it's possible. Just parse the sheet names when reading them and do similarly as I did excepting with Date, Valve, Powder v...

1일 전 | 0

답변 있음
String in a Loop
In In_Use_Legend=hgdawe(bbT:ccT); you didn't subscript your lookup array variables but refer to the arrays each in their entir...

1일 전 | 0

답변 있음
Now, I need help with coding part as to copy and paste the data from one file to another but section wise with the same line name in place. Thank you
Try this...looks like it worked ok, but you'll need to check carefully; I just did casual look-see. This demands that the file ...

1일 전 | 0

답변 있음
Saving figures and automatic legend
You only saved a handle to the current axes via gca at the end -- but you created three (3) axes via subplot Save the handles o...

1일 전 | 0

| 수락됨

답변 있음
what is the best way of showing legend?
You don't explain what you don't like nor show us what you got and we don't have your data, so we're flying blind here, but I'll...

1일 전 | 1

| 수락됨

답변 있음
How to group different values in an array?
Why are you holding numeric data as strings??? Even if stuff goes together somehow, use an array although it would seem likely g...

2일 전 | 0

답변 있음
How do I display a number as a percetage within a table?
No can do...and leave as a number, anyways. tables are calculational tools and MATLAB is NOT a spreadsheet and the view of the ...

2일 전 | 0

답변 있음
Appdesigner: Execute callback from m file
What do you mean, specifically? appdesigner calls a given callback function; that function can call anything, m-file or not; bu...

3일 전 | 0

답변 있음
I am trying to certain points of data from structs which are in a cell
It's an array of struct, use arrayfun to iterate over the collection of objects... BW2{k} = bwconncomp(BW1{k}); N{k}=arrayfun(...

3일 전 | 0

답변 있음
Intersection of two curves
One approach might be something like R_PF=mean(P./f); % the average scaling between the two fn1=@(x)interp1...

4일 전 | 0

답변 있음
Letter to numerb: Create a new 'if' variable to change 'Y' and 'N' to 1 and 0
>> categorical({'Y';'N';'Y'},{'N';'Y'},{'0';'1'}) ans = 3×1 categorical array 1 0 1 >> matches({'Y';'...

4일 전 | 0

답변 있음
How to copy a complex number in a cell with different sign of imaginary part?
v=[x conj(x{:})];

5일 전 | 1

| 수락됨

답변 있음
Simulink: Use Enumeration As Index
Try something like idx=find(ismember(enumeration(Example),Example.value999)); A(idx) SIDEBAR: MATLAB enumeration classes are...

5일 전 | 0

답변 있음
FFT from .csv voltage and current data file
readmatrix and fft have examples that match up with your Q? -- if you have Signal Processing Toolbox, then there are more user-f...

5일 전 | 0

답변 있음
how to import csv file with along with its headers in the matlab?
Alternatively to one of @Star Strider's solutions, use the result of your version's readtable as the starting point, then read a...

5일 전 | 0

답변 있음
Customise axis ticks and ticks labels with exponential notation
See <Include Superscript and Subscript in Axis Labels> example at <xlabel> Moral: Read doc including looking at examples...

5일 전 | 0

| 수락됨

답변 있음
Plotting rows of a specific column of similar value on separate figures
When you want a new figure for every one, that pretty-much means splitapply isn't going to be all that handy because you can't d...

6일 전 | 0

| 수락됨

답변 있음
How to Change the Exponential Scale in axis to linear scale?
Guessing at what you mean, precisely, try something like-- Dalton=8.227*exp(1)+6*exp(-7.9591*exp(1)*y); % use MATLAB vec...

6일 전 | 0

| 수락됨

답변 있음
Load data (.csv or .isf) from any directory to process in Matlab Standalone Application (App Designer)
Well, you got the filename and path to it, but you didn't use the path -- ... D1= readmatrix(fullfile(path,filename)); ... Y...

6일 전 | 0

답변 있음
Plotting rows of a specific column of similar value on separate figures
Try something like g=findgroups(zt(:,1)); hAx=axes;hold on splitapply(@(y)plot(y),zt(:,3),g) legend("Group "+unique(g)) If ...

6일 전 | 0

답변 있음
Matlab replaces missing doubles by zeros instead of NaNs
The "WHY" goes back to original design of MATLAB and was the chosen behavior when first invented. To change that behavior now w...

6일 전 | 0

답변 있음
Plot multiple variables with stackedplot with data for the x-axis?
From the doc, about the third input syntax description is stackedplot(___,'XVariable',xvar)

6일 전 | 0

답변 있음
How to find the frequencies of a time series which contain datetime ?
I think it's absurd to even think about peforming spectral analysis on such a intermittently-sampled signal, but the only thing ...

7일 전 | 0

답변 있음
how to plot hexagon inside boundary?
As a starting point... N=6; t=2*pi*(1/(2*N):1/N:1).'; x=cos(t);y=sin(t); fill(x,y,'k') axis square hold on hH=fill(x+2*ma...

8일 전 | 1

| 수락됨

답변 있음
Excel Spreadsheet Autofill Range (Multiple rows) via MATLAB command
Start by creating a macro that does what you want done and look at in in VBA -- I usually just paste it into the MATLAB editor a...

8일 전 | 0

| 수락됨

답변 있음
Hello everyone, I want to restrict the domain of a vector to return it to a smaller data set. For example, X between 2 and 7
Perfect use for my utility function iswithin >> x=1:10; >> x=x(iswithin(x,2,7)) x = 2 3 4 5 6 7 >>...

8일 전 | 0

| 수락됨

답변 있음
How to change the font size of xtick and ytick with scientific notation on the side?
x=linspace(0,2.1E-4); y=randn(size(x)); >> plot(x,y) >> hAx=gca; >> hAx.FontName='Times New Roman'; >> hAx.FontSize=12; >> ...

8일 전 | 0

| 수락됨

더로드