Réponse apportée
MATLAB won't invert a function in the Laplace domain...
After running your code (with n=1.1), it seems that the problem is that using a non-integer value for 'n' produces non-integer e...

4 mois il y a | 1

Réponse apportée
Why doesn't matlab start?
According to the System Requirements, that should probably work. (Note the 'version 22H2' requirement for Windows 10.) Sinc...

4 mois il y a | 0

Réponse apportée
apply colour bar colours to data points
The third and fourth arguments of scatter can control the size and colours of the plotted points. It is also necessary to defin...

4 mois il y a | 0

Réponse apportée
Time to peak using findpeaks
I usually have findpeaks return the indices of the peaks. Your definition of the start time point isnot obvious. I would use...

4 mois il y a | 1

| A accepté

Réponse apportée
Discrepancy when plotting step response of two identical transfer functions.
We do not have the original data. I suspect that you are seeing the loss of precision due to using only 4 significant digits ...

4 mois il y a | 0

| A accepté

Réponse apportée
tiledlayout("vertical") with multiple columns
I am not certain that tiledlayout can easily do what you want. It might be easier to use subplot instead. That way, you can ...

4 mois il y a | 0

Réponse apportée
Mean of 3D matrix based on range of first dimension
Perhaps something like this -- A = randn(360,360,720); At = A(100:200,:,:); Atm = mean(At, 1); AtmSize = size(Atm) ...

4 mois il y a | 0

| A accepté

Réponse apportée
How to add two columns based on conditions
It is easiest to use 'logical indexing' for this. Try this -- intrun = [1 0 1 4; 2 0 1 5; 1 ...

4 mois il y a | 0

| A accepté

Réponse apportée
Compare two row and select appropriate data
I believe you want the minimum of the two columns. Try this -- Data = array2table(randi(9, 10, 2), VariableNames=["A","B"])...

4 mois il y a | 0

Réponse apportée
Is Helvetica available on every MATLAB platform?
On my Ubuntu 24.04 installation (latest updates), using yur example code, 'Helvetica' is the 12th entry in 'k'. Proportional ...

5 mois il y a | 0

| A accepté

Réponse apportée
Scatter point plot into plot3d or any surface
It would help to have your data. It might not be necessary to do any interpolation if you only want to use those vectors. Ju...

5 mois il y a | 1

Réponse apportée
I have a code but am unable to use if conditions with matrix value
I cannot understand what you want help with. If you want to avoid using values that equal 0, one way is to use 'logical index...

5 mois il y a | 0

Réponse apportée
Extracting Respiratory Cycle Duration from RPM Waveform Stored in DICOM Files
Part of the problem is that your instrument is 'saturating', such that the amplitude of the signal exceeds the ability of the in...

5 mois il y a | 0

| A accepté

Réponse apportée
how to know the version of simulink ?
Execute the ver command. ver .

5 mois il y a | 0

Réponse apportée
How to correctly find the solution of a system of equations containing trigonometric functions
It would be difficult to plot this since there are so many variables, and it is not obvious (to me, at least) what 1 or 2 variab...

5 mois il y a | 0

Réponse apportée
Listing values ​​for a specific harmonic line from waterfall figure
By 'harmonic line', I assume you intend frequency, the x-axis coordinate in each plot. A waterfall plot is a specific depiction...

5 mois il y a | 0

Réponse apportée
Fatal error starting Matlab 1. time in Ubuntu 25.04
From the Platform Roadmap documentation, R2023a only supports Ubuntu 22.04 LTS. The 25.04 release is not listed for any MATLAB ...

5 mois il y a | 0

Réponse apportée
How do I use readcell and keep leading spaces within cells
There may be other ways of doing this (and I am not certain that it will work with your Excel fiile), however if you define whit...

5 mois il y a | 2

Réponse apportée
How do I change column headers in my table
If your immediate problem is naming the variables, perhaps -- Int_force = randn(6,6,28); Force = repmat(["Axial Force";"Shea...

5 mois il y a | 0

| A accepté

Réponse apportée
2D acoustic wave equation with a Perfectly Matched Layer
I'm not certains what this code is supposed to do or the result it's supposed to produce. The problems were that the diff cal...

5 mois il y a | 0

| A accepté

Réponse apportée
Cross-Coupled System Identification
I am not entirely certain that I understand what you want to do. If you have the input and output data, you have a system mod...

5 mois il y a | 0

| A accepté

Réponse apportée
create a code for butterworth 4th order bandpass filter without Signal Processing Toolbox
A relatively straightforward presentation stats with (for a fourth-order prototype lowpass filter) -- where is a normalisin...

5 mois il y a | 1

Réponse apportée
Last tick labels dissapear when plotting with axes at origin (0,0)
After experimenting with this a bit, using: axis('padded') might be the best option. x = linspace(-20, 20, 50); y = tanh(...

5 mois il y a | 0

| A accepté

Réponse apportée
How do I get bold formatted subscript mathematical expressions in MATLAB using LaTeX?
Using g_{\it\textbf{R}} works here using tthe LaTeX interpreter ( button in the top toolbar) -- The 'R' actually is sub...

5 mois il y a | 0

Réponse apportée
How to surfc or surf a .mat file
The error is clear -- imshow(imread('64C9C921-689D-4180-8EAD-7EE1126E5382.png')) At least one of your data are vectors (it wo...

5 mois il y a | 0

Réponse apportée
Dimensioning a field within a structure array for reading data
It might be worthwhile to use the readcell function to read it. After that, the cell2struct function could work to create a s...

5 mois il y a | 0

| A accepté

Réponse apportée
Unrecognized function or variable 'fetchmulti'.
According to the documentation, fetchmulti was introduced in R2024b, and is part of the Database Toolbox. If you were using i...

5 mois il y a | 0

Réponse apportée
MATLAB Suddenly Stopped Being Able to Plot
First, see if the path got corrupted. Run these: restoredefaultpath rehash toolboxcache from a script or your Command W...

5 mois il y a | 0

Réponse apportée
How can I rectify the issue of figure not displaying curve the right way?
I am not exactly certain what the problem is (not enough information), however increasing the LineWidth could be a solution, fol...

5 mois il y a | 0

Réponse apportée
fill function sometimes working and sometimes not working, why?
I generally use patch rather than fill because I understand patch and I have more control over what it does. I'm not certain ...

6 mois il y a | 0

| A accepté

Charger plus