Frage


Is Matlab consistently and correctly handling symbolic expressions that include a dirac function applied at a point of discontinuity?
Is Matlab consistently and correctly handling symbolic expressions that include a dirac function applied at a point of discontin...

etwa 3 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
Matlab's numeric solution to det of Matrix is incorrect
Hi ThanosST, Are you sure the expressions in B are entered correctly? Asking because it sure looks like L = 3.9407 is the solu...

etwa 3 Jahre vor | 0

Beantwortet
Cauchy integral theorem vs. integral formula
Hi Luqman, The numerical integration is using a step size that is proably too large to capture the rapid variation in the integ...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
Integral and inverse integral
The attachment convolution.jpg is confusing. Equation (15) defines Pf(x) as a convolution. But the unnumbered equation in the ri...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
Euler's identity with angle in degrees
If the input is given in degrees, consider writing your own function using cosd and sind for accurate results at the 90 deg inte...

etwa 3 Jahre vor | 1

Beantwortet
MATLAB code to SIMULINK block ?
One way to get started may be to wrap the ultrasonic sensor code in a function, and call that function from a Simulink MatlabFun...

etwa 3 Jahre vor | 0

Beantwortet
Convolution of function on a non symmetric axis using 'conv'
Hi MMG1 It looks like the code is using the convolution sum to approximate a convolution integral. Is that correct? If so, my c...

etwa 3 Jahre vor | 1

Beantwortet
How to Convert a 3D Matrix into Cell Array of Desire Dimension
A = rand(2,100,500); % example data C = squeeze(num2cell(A,[1 2])); % create cell array whos C isequal(cat(3,C{:}),A) % veri...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
Matlab giving error for tall array assignment
The code doesn't define a variable named grid. It's getting confused with the function grid

etwa 3 Jahre vor | 1

Beantwortet
How to calculate a double integral with a subfunction?
Hi Dewen Yu, As the error message indicated, the function pattern_element needs to use element-wise math operations to compute ...

etwa 3 Jahre vor | 2

Beantwortet
polar motion seems to be reversely applied to the function "ecef2eci."
Hi Jeongin Yun, Quoting from the question, with emphasis added: "In order to transformate coordinate eci to ecef, it should ro...

etwa 3 Jahre vor | 0

Beantwortet
Insert number in structure array
Hi Chad, If possible, consider changing the structure of your data to arrays that can be indexed, instead of field names that c...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
how to set a lowpass filter in simulink?
Hi moh mor, The error message from the Lowpass Filter block sounds bit misleading. If you look on the doc page, it says that t...

etwa 3 Jahre vor | 1

Beantwortet
cannot use `lsim()` function properly
Hi 嘉伟, Here is the plant model M = 1.5; m = 0.5; l = 10; g = 9.8; %% state space A = [0 1 0 0; 0 0 m*g/M 0; 0 0 0 1; 0 0 ...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
Fourier transform of circular convolution is not equal to multiplication of two Fourier transforms?
Hi Khiem, Consider the following to see the difference between circular and linear convolution. N = 32; ...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
How to do error approximation of a weibull fit in matlab
The Weibull distribution is that of a continuous random variable. Are you trying to compare its fitted pdf with the plot returne...

etwa 3 Jahre vor | 0

Beantwortet
I wonder why the following code is not able to give a valid output? My objective is to solve a system of simultaneous ODEs with dirac comb func.
Hi Mridupawan, It would be helpful if you posted the error that you're getting or otherwise show exactly what the problem is. ...

etwa 3 Jahre vor | 0

Beantwortet
Problem with Kalman Filter and state space model
Hi Tobias, It looks like the state space model is defined in continuous time, but the Kalman filter is a discrete-time implemen...

etwa 3 Jahre vor | 1

| akzeptiert

Beantwortet
How to calculate real probability of data
"is there a way I can get the probability values in a matrix of the same dimenions as A." The number of bins in the histogram w...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
Changing initial conditions of a Simulink model when simulating using a for loop
I think you can do what you want using Model Operating points. Here's a doc page to get started. Why do you want to do this: in...

etwa 3 Jahre vor | 1

Beantwortet
programmatically collect sim errors
Using the sim command, simulation warnings are captured in the SimulationMetaData.ExecutionInfo of the output of the sim command...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
imufilter results seem incorrect
I think the gyro data is in deg/sec, but the imufilter wants that input in rad/sec. Check those units. data = readtable('data.c...

etwa 3 Jahre vor | 0

| akzeptiert

Beantwortet
I'm getting weird units while double-integrating accelerometer data to extract displacement
Hi @Nathaniel, I only see one issue with the code, but I have some other thoughts for consideration. Read in the data warning...

etwa 3 Jahre vor | 0

Beantwortet
Decreasing digits of answer
Try: vpa(grad,6)

etwa 3 Jahre vor | 1

Beantwortet
freqz() not behaving as expected?
The b and a inputs to freqz are the coefficients in ascending powers of z^-1. So this case b = 1; a = [1 0 0 0]; really means...

etwa 3 Jahre vor | 1

Beantwortet
include all rows matrix in []
One way .... Create example data Sis.a = 1; Sis = repmat(Sis,73,1); z = rand(5668,73); The code [Sis.z] = cell2struct(num2...

etwa 3 Jahre vor | 2

Beantwortet
DTFT possible on Matlab?
Computing the DTFT of a signal in Matlab depends on a) if the signal is finite duration or infinite duration b) do we want the...

etwa 3 Jahre vor | 2

Beantwortet
How to verify the discrete-time convolution theorem with Matlab
Hi moyu, Linear convolution in the frequency domain using fft requires zero padding the sequences before taking the FFTs and mu...

etwa 3 Jahre vor | 1

Beantwortet
sum filed in struct
% example data Sis.PV = 20; % Sis.PV = repmat(Sis.PV,1,82); % original incorrect line, expanded the field instead of the struc...

etwa 3 Jahre vor | 2

| akzeptiert

Beantwortet
How can i get frequency domain of an earthquake?
Hi ADNAN, I had a comment in this thread that was mysteriously deleted, so I'll repost here as a separate answer. It looks lik...

etwa 3 Jahre vor | 0

Mehr laden