Respondida
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...

11 meses hace | 2

Respondida
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...

11 meses hace | 0

| aceptada

Respondida
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...

11 meses hace | 0

| aceptada

Respondida
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...

11 meses hace | 0

| aceptada

Respondida
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...

11 meses hace | 1

Respondida
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(...

11 meses hace | 0

| aceptada

Respondida
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...

11 meses hace | 0

Respondida
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...

11 meses hace | 0

Respondida
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...

11 meses hace | 0

| aceptada

Respondida
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...

11 meses hace | 0

Respondida
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...

11 meses hace | 0

Respondida
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...

11 meses hace | 0

Respondida
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 ...

11 meses hace | 0

| aceptada

Respondida
Plot not showing the desired markers and does not match the legend
It is difficult for me to understand what you're doing, although I believe this is close to what you want -- % ----- Experimen...

11 meses hace | 0

Respondida
Whis my root locus plot showing me a blank figure?
It works here and in MATLAB Online for me -- sys = tf([2 5 1],[1 2 3]); rlocus(sys) The problem may be your browser. Try ...

11 meses hace | 0

Respondida
Range FFT Magnitude Too High – Help Needed to Get Proper Y-Axis Magnitude
@A -- With respect to your earlier Comment, a FIR filter is not the best choice if you need only one filter. I would suggest ...

11 meses hace | 0

| aceptada

Respondida
Is it possible to add a secondary y axis while using the stackedplot function?
Apparently not. Any provision for creating a second y-axis is apparently not available, even when attempting to 'force' it (t...

12 meses hace | 0

| aceptada

Respondida
curve fitting toolbox is showing installed but when i try to use in my apps pane it display 'no apps installed'. i dont know what to do please help.
First, run these from a script or your Command Window: restoredefaultpath rehash toolboxcache If that does not solve your ...

12 meses hace | 0

Respondida
Difference between integral and cumtrapz.
They produce the same result if you let them. Try something like this -- x = [-10:0.01:10]'; fx = @(x) x.^2; for k = 1:nu...

12 meses hace | 0

| aceptada

Respondida
Error "Array indices must be positive integers or logical values" occurs at the line [row1, col1, s1] = ind2sub(size(chi_coeff), idx1);
My guess is that you have a variable names 'size' and that is throwing the error. Run this to test that hypothesis: which s...

12 meses hace | 2

Respondida
Title issues when plotting
Create everything as a string array -- InputSheet = "Plate #1"; Grain{1} = 42 degsign = string(char(176)); n = 1; T_oQlast...

12 meses hace | 0

| aceptada

Respondida
What is the cause of strange "spike" artifacts after IFFT?
The signals are approximately the same lengths in time, however 'Zoom1' has a significantly higher sampling frequency than 'Zoom...

12 meses hace | 0

Respondida
Please help me to run the surface figure from the attached code
The error is because you are missing a multiplication operator dy(2) = (((rhot/mut)*(a*(muf/rhof)^0.5*(E*F+E^2)+a*(muf/rhof)*w*...

12 meses hace | 0

| aceptada

Respondida
No results from calculations in the command window
I am not certain that I fully understasnd your problem. MATLAB functions have their own workspaces, so variables local to the...

12 meses hace | 0

| aceptada

Respondida
tfest() failed with higher order
One way to estimate the system order with reasonably accuracy from the output signal itself is to calculate the Fourier transfor...

12 meses hace | 1

Respondida
Plotting Set of Inequalities
It is difficulf for me to interpret what you want to plot. One way to 'include' an area of inequality in a plot is to use the...

12 meses hace | 0

Respondida
Matlab freezes on startup
That it opens dos.m in the Editor and then freezes could indicate that your startup.m file is telling it to open that file in th...

12 meses hace | 1

Respondida
How do I turn off the LaTeX interpreter per line in my title within MATLAB?
Probably the easiest way to do what you want would be to 'escape' the underscore lines using backslashes (\) -- figure title([...

alrededor de 1 año hace | 0

Respondida
Change width of 2 colorbars in tiledlayout
I am not certain whst result you want. This seems to work -- img_sos = rand(64); img_oar_pixel = rand(64); img_oar_block ...

alrededor de 1 año hace | 0

Respondida
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...

alrededor de 1 año hace | 0

Cargar más