Answered
How to extract ridges from Time-Frequency transform?
It would help to have your signal. One option could be pspectrum with the 'spectrogram' option. Plot it as a surface, then...

8 months ago | 0

Answered
Calculate the Standard Deviation based on multiple conditions
It would definitely help to have the data, or at lest a representative sample of it. One option would be to use the function, ...

8 months ago | 0

Answered
compiled matlab script where incorrect variables are passing
The '49' is the ASCII code for '1' -- Q = double('1') Mystery solved! You may need to change parts of your code, or perhap...

8 months ago | 0

| accepted

Answered
How to project a line on a surface?
Perhaps something like this using the scatteredInterpolant function -- x = linspace(-3, 3); y = linspace(-4, 4); [X,Y] = ndg...

8 months ago | 1

Answered
How to write a timetable to excel with rowtimes as dates without times?
That is likely a problem with Excel. MATLAB writes the timetable correctly -- m = (1:3)'; dates = datetime(2025,m,15) tt ...

8 months ago | 0

| accepted

Answered
Time-domain response from FRF shows unexpected growth (damped system)
I can make it work by using conj on the first half of 'displ_2' and concatenating that with the original 'displ' vector. Try ...

8 months ago | 1

| accepted

Answered
Error in step size and i dont know why. I need help..... please.
The warning simply means that ode113 has encountered a singluarity in one of your differential equations. It is not obvious to ...

8 months ago | 0

Answered
Blurry and hazy lines in matlab plots.
One option could be to upgrade to 24.04. (I have not had problems similar to the ones you are reporting using 24.04, although m...

8 months ago | 0

Answered
How to fill in the area under the curve
Perhaps something like this -- clc clear all; x=[0.00 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.1...

8 months ago | 0

| accepted

Answered
How i crop the image using image processing?
Your data are not easy to work with, and the scribe line yu added does not help! I needed to get into other plot types and do...

8 months ago | 0

Answered
Cannot install Matlab 2006b on my Windows 11 laptop
See System Requirements - Release 2006b That should tell you all you need to know about the reasons that will likely never wor...

8 months ago | 1

Answered
Using sgolayfilt in derivative analysis of absorption images
The sgolayfilt function is used in signal processing of one-dimensional signals, not image processing of two-dimensional arrays....

8 months ago | 0

Answered
I am trying to fill in the area between these two curves.
Perhaps something like this -- clc clear all Duty = [0 2112798.41 4225596.82 6338395.22 8451193.63 ...

8 months ago | 0

| accepted

Answered
How show direction of line inside plot and ?
I am not certain what you want. My best guess is that you want smaller arrows in the last two figures. The fifth argument to q...

8 months ago | 1

Answered
Installing MATLAB 2025a in Ubuntu 22.04
I run the MATLAB Installer. This usually works, however it will first stop when it cannot create the installation directory. Y...

8 months ago | 1

Answered
Trying to do an fsolve via an anonymous function
I exrtracted your code sections and attempted to run it. You need to check the trapz integration. The call to it is correct,...

8 months ago | 1

Answered
Statistics and ML Toolbox
You may have path problems. Run these from a script or your Command Window -- restoredefaultpath rehash toolboxcache If...

8 months ago | 0

Answered
3D surf plot for more than two quantities
One problem is thta your surf calls have the wrong syntax. This works. I made the surfaces partially transparent (the FaceAlph...

9 months ago | 0

Answered
Finding coordinates of a point from bisector of two lines
Sure! Fortunately, I kept the code ... clear close all xq = [-1000 0 -200 -1000 -1000]; yq = [-450 0 -1000 -1000 -450]...

9 months ago | 1

| accepted

Answered
Shading an area between two curves symbolically
It is necessary to get the relevant 'x' and 'y' values from the fplot calls first. You can then use them in the patch call. ...

9 months ago | 1

| accepted

Answered
Problem istalling ML 2025 on Tower Computer but not Laptop, why?
From the documentation -- Can I use MATLAB Home on 2 computers simultaneously? The MATLAB Home License can only be used on a...

9 months ago | 0

Answered
how to plot fabric diagram as in the fig
I have no idea what a 'fabric diagram' is, beyond your description. (An Interweb search produced no useful reslults.) Plotti...

9 months ago | 0

Answered
Error: Inputs must be character vectors, cell arrays of character vectors, or string arrays.
I am not certain what result you want, however for string arrays, you can just use arithmetic operators. Try this -- A = ["...

9 months ago | 0

| accepted

Answered
Symbolic integration: error
I ran your code in MATLAB Online. There are some integrands that simply cannot be integrated and give closed-form symbolic re...

9 months ago | 0

Answered
search text in arraycell
This may be more convoluted than it needs to be, however it has the virtue of returning the desired result. I know of no other ...

9 months ago | 0

| accepted

Answered
datetime error in 2025a version
I may be missing something, however it appears that 'My.Date' is already a datetime array. You do not need to do anything to ...

9 months ago | 0

Answered
Populating a tiledlayout vertically rather than horizontally
One option could be to use the TileIndexing property, and set it to 'columnmajor'.

9 months ago | 2

| accepted

Answered
Adding text labels above bars
A lot of aspects of your code co not match the numbers of labels that you have. Adjucting various aspects of it make other aspe...

9 months ago | 0

| accepted

Answered
How can I use table() with a variable number of columns?
Something like this seems to work -- data = randn(2,5,4); jj = 1; T{jj} = array2table(squeeze(data(jj,:,1:3)), VariableName...

9 months ago | 0

| accepted

Answered
Splitting two nearly overlapping curves
It might be possible, however it would likely require a lot of manual experimentation. I experimented with an approach that i...

9 months ago | 1

| accepted

Load more