답변 있음
Correct way to calculate the dominant frequency of time series signal?
If you want to see how the frequencies evolve over time, use the pspectrum function (or spectrogram, however spectrogram returns...

10개월 전 | 0

답변 있음
How can i use two seperate functions to give one output?
That depends on what the function arguments are, and what ‘one output’ is. A bit more detail would help significantly! Exa...

10개월 전 | 1

답변 있음
Can I get notification when a new version (e.g., 2025a) is released?
I ususlly get e-mails about new releases, however they are usually several days after a release is actually available. I’ve fou...

10개월 전 | 0

답변 있음
How can I fill the area under the data fully?
I am more familiar with patch than area, so I went with what I’m good at. I replaced the area call with: Lv = ~isnan(EY1); ...

10개월 전 | 1

| 수락됨

답변 있음
why does this not work?
need to separate the elements of the array (that I changed to a cell array here). Then, it works — x = {'0:07.50' '2:03.91...

10개월 전 | 1

답변 있음
Filtering Noisy GPS Altitude
Filtering the data might be your best option, unless you can determine the causes of the discontinuities and fix that. There ...

11개월 전 | 0

| 수락됨

답변 있음
yyaxis limit for lines in one graph
I doubt that it is a limitation, simply yyaxis doing its best to make the lines distinct. You can specify them yourself with th...

11개월 전 | 0

| 수락됨

답변 있음
how can I convert linear figure's axis to logarithmic?
I am not certain what the problem is, however you can change the ruler properties with the Exponent property. N = 100; x = l...

11개월 전 | 0

| 수락됨

답변 있음
Finding one real solution with vpasolve
When in doubt, plot the function. Doing that here reveals that it appears to be zero at only one point, that being 0. % Pa...

11개월 전 | 0

| 수락됨

답변 있음
How to determine which of several vectors is larger?
One approach to getting the maximum number of elements and the index — ATime = linspace(0, 1, 1000).'; BTime = linspace(0, 1,...

11개월 전 | 0

답변 있음
how can I save a variable to an excel file?
Try something like this — ST_normalized = complex(randn(10,1), randn(10,1)) writematrix([real(ST_normalized), imag(ST_norma...

11개월 전 | 0

| 수락됨

답변 있음
Assistance solving unknowns in transfer function?
I would use the partfrac function — syms s H = 8/((s^2+4)*(s+1)*(s+4)) Hpf = partfrac(H) You will likely need to inter...

11개월 전 | 1

| 수락됨

답변 있음
Convert chars into formatted numbers
I am not certain what result you want. Try something like this — % ... Parse the .header file to get variable names (.Names...

11개월 전 | 0

| 수락됨

답변 있음
Excel Data preprocessing from a scattered one into an organised table
I am not certain what result you want. This approach first eliminated columns that are completely empty, then eliminates the ...

11개월 전 | 0

답변 있음
How to make str2double recognize comma delimited numbers?
It depends on what the actual numbers are. You can likely simplify this to use only '\d*' if they are only integers. One app...

11개월 전 | 1

| 수락됨

답변 있음
What computer should i buy to install matlab
To start with, see: System Requirements for the release you want to use. There was a recent discussion on this in Intel vs AM...

11개월 전 | 0

답변 있음
Creating an array of maximum values from differents tables
Your current code creates the variable ‘CSC’ and then takes the maximum of selected rows of ‘C5R’. I changed that, although not...

11개월 전 | 0

| 수락됨

답변 있음
How to determine number of patients in the category
Use the accumarray function. Try something like this — imshow(imread('Screenshot 202....55.14 PM.png')) BMIC = ["Underweig...

11개월 전 | 0

답변 있음
How can I assign similar colors to match two grouped bar chart?
Use the CData property of each bar. Try this — % MATLAB Live Script to plot a bar graph from CSV data % Read the data fr...

11개월 전 | 0

| 수락됨

답변 있음
How to fix a code?
I believe it was getting confused by two different uses of ‘t’ in the ode45 argument list. When I added ‘t_vector’ and used tha...

11개월 전 | 0

답변 있음
Match name to axis value in chart
Apparently, you want to put all the labels in the negative part of the y-axis. Try this — load('matlab_pl.mat') stem(p...

11개월 전 | 0

| 수락됨

답변 있음
How to Change the Font Size of MATLAB 2024b UI in Ubuntu 24.04.2 LTS?
Right-click on any area of the desktop background. This brings up a menu. Click on Display Settings, then Displays. Choose t...

11개월 전 | 0

답변 있음
Error Plotting Magnitude Spectrum of Fourier Transform With fplot
Your code just needed to be tweeaked a bit. I changed the plot lilmits to show more of the function. Try this — syms t w ...

11개월 전 | 0

| 수락됨

답변 있음
help with nested loops
You don’t actually need nested loops (or for that matter, any loops) to calculate those in MATLAB. Texplore=[0 100 200 300 40...

11개월 전 | 0

| 수락됨

답변 있음
Graph with raw data points for four groups in three treatments
Your best option may be the swarmchart function. There are related versions (inicluding one in the Statistics and Machine Learn...

11개월 전 | 0

답변 있음
graphreader tool to extract values from graph images
There are some File Exchange conntributions that can do that. Two that appear to be well-regarded are Graph Digitizer and the...

11개월 전 | 0

답변 있음
EEG sequencies visualization ideas
Based oin your description, my choice would be tiledlayout. It would be relatively straightforward to put each sequence in a ve...

11개월 전 | 0

답변 있음
Curve Fitting Young's Modulus for Stress Strain Curve
I am not certain what you want to do. To fit the initial linear portion of the curve, you can either usee polyfit or mldivide, ...

11개월 전 | 0

답변 있음
How to calculate the period of the 6th wave in my data when I dont have the equation of the wave
I’m not sure what the ‘6th wave’ is. The problem is that you need to give findpeaks a bit more information. Here, I added Mi...

11개월 전 | 0

답변 있음
How can I use Interp1 here instead of ismembertol?
That might be possible. The interp1 function requires two vectors of equal size, and then returns the interpolated value of the...

11개월 전 | 0

| 수락됨

더 보기