Beantwortet
Why I am I getting a row
Thge easiest way is: x1 = x1(:) since this will force ‘x1’ to be a column vector regardless of its previous orientation. ...

mehr als ein Jahr vor | 0

Beantwortet
Data extraction/split from table
I am not certain what reesult you want, however findgroups and accumarray (or splitapply) together are likely the direction in w...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
plotting functions with two y axes
Use the yyaxis function. It should work with tiledlayout axes. EDIT — (19 Jan 2025 at 16:10) I am not certain what result...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Which matlab will i be able to use in my pc?
See Platform Road Map for the MATLAB and Simulink Product Families I doubt that any available releases will run on your co...

mehr als ein Jahr vor | 0

Beantwortet
Use of symbolix toolbox to derive PI controller Kp,Ki
You can get there, however you have to force iit — syms K_P K_I L R s xi omega_0 real G_PI = (K_P*s + K_I) / s G_RL = 1 / (L...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to Calculate dominant frequency and centroid frequency and plot them together
The spectralCentroid 9s plotted with respect to time, and the values go from near zero to 7.14 Hz. The dominant frequency is 0....

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Find imapedance of a circuit with mesured current and voltage and frequency sweep(up to 1MHz). C and L are unknow.
By convention, the real part is the voltage, and the imaginary part is the current. Thje phase is the angle between them. Oh...

mehr als ein Jahr vor | 0

Beantwortet
Best way to retrieve items from a cell array using a cell array of indices?
Creating ‘indices’ as a cell array is the problem. Refer to it as a double array instead — label_names={"assds", "Sasas", "...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
array indices must be positive integers or logical values when complier matlab file - Application complier
The most likely cause of that sort of error is that a variable (created before the function is called) has the same name as a fu...

mehr als ein Jahr vor | 0

Beantwortet
how can i open .out extension file in matlab?
That depends on what is inside the file. If it is a text file, you can use either readtable or readmatrix with the addition o...

mehr als ein Jahr vor | 0

Beantwortet
Model identyfication from plot
You will need to use the System Identification Toolbox for this. If you have both the input and output time-domain signals, sta...

mehr als ein Jahr vor | 0

Beantwortet
I need answers can you please answer
Nodal Analysis

mehr als ein Jahr vor | 0

Beantwortet
mean function gives an error but not median
That you are getting theee error: Array indices must be positive integers or logical values. indicates that somewhere in your...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Black horizontal patches in the plot
Those sorts of horizontal liines are usuallly caused by unsorted data. Experiment with sorting the latitude as well: [longitu...

mehr als ein Jahr vor | 0

Beantwortet
Importing a PDF Bank Statement into MATLAB and splitting transactions correctly
The Text Analytics Toolbox has several functions that can be used to extract data from PDF files. See the documenntation sectio...

mehr als ein Jahr vor | 0

Beantwortet
How to find the area between two lines of different size matrices and fill that area?
It would be helpful to have your data. That aside, the problem with your patch calls is that your data are column vectors a...

mehr als ein Jahr vor | 0

Beantwortet
Band pass filtering of time series data
The problem is that the sampling frequency is 1 sample/minute, making the Nyquist frequency (the highest uniquely resolvable fre...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Changing Plot colors while using fitlm
I’m not sure how this works in R2019a, however if you don’t specify any specific colours in the plot calls, each plot has differ...

mehr als ein Jahr vor | 0

Beantwortet
readtable error after r2014a --> r2022b upgrade
Try one of these — t = readtable('test.txt', 'Delimiter',";"); or: t = readtable('test.txt', 'Delimiter',{';'}); The only ...

mehr als ein Jahr vor | 0

Beantwortet
Best way to plot a surface whose matrix has values of +/- infinity
Without the actual matrices (or representative matrices), it is diifficult to determine what is best. Note that fillmissing w...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
how to read the data of type a*b?
Taking a wild guess that the ‘multiiplicatiion’ operators are equivalent to the ‘power-of-10’ indicator ‘E’ or ‘e’, first use st...

mehr als ein Jahr vor | 0

Beantwortet
For 3D surface plots, do you like the command, 'shading interp'?
There are a few options that you can experiment with — [X,Y] = ndgrid(-5:0.5:5); Z = exp(-(X.^2 + Y.^2)/10); figure sur...

mehr als ein Jahr vor | 1

| akzeptiert

Beantwortet
Iteratively selecting rotation angle for alingment
I do not understand what you are doing or want to do. Calculating the RMSE implies that you have something you want to compare ...

mehr als ein Jahr vor | 0

Beantwortet
finding the endpoints of an skeleton
Search the File Exchange for skeleton endpoints.

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
how to cleanly ensure column type in table is numerical
It reads them correctly in R2024b. Use the detectImportOptions and setvartype functions to set them to 'double'. (I can’t te...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
From making 2D line plots to making 3D surface plots: How to preserve my current workflow?
Theree is not enough information proviided to determine what the problem is. If ‘i’ and ‘j’ are scalars, or matrices conformabl...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
Problems in installing Symbolic Math Toolbox
pngs = dir('*.png') for k = 1:numel(pngs) figure imshow(imread(pngs(k).name)) end First, if you haven't alrea...

mehr als ein Jahr vor | 0

Beantwortet
Value Function Iteration: Unable to perform assignment because the left and right sides have a different number of elements.
Here: [w, ind] = max(W); %take max of W The ‘W’ variable is an empty double vector, so ‘w’ and ‘ind’ are also. It’s not po...

mehr als ein Jahr vor | 0

| akzeptiert

Beantwortet
How to estimate parameters of fractional SIR epidemic model?
See for example Parameter Estimation for a System of Differential Equations You have to define your differential equation...

mehr als ein Jahr vor | 0

Beantwortet
extract max and min frequency of a spectrum
There are some Signal Processing Toolbox functions that may do what you want. See for example the powerbw function. There ar...

mehr als ein Jahr vor | 0

| akzeptiert

Mehr laden