Beantwortet
How to handle logical arrays in Simulink?
See this screenshot:

etwa 2 Jahre vor | 0

Beantwortet
How to handle logical arrays in Simulink?
Of course Simulink blocks can be used. Simulink library has a bunch of logic operation blocks - follow to see them: Simulink ->...

etwa 2 Jahre vor | 0

Beantwortet
Convert discrete sys to continuous sys using delays using linear-fractional transformation (LFT)
Is this what you are getting: % EXAMPLE CODE % % Declare MIMO matrices A,B,C,D A = [-0.31261936441776167,0.28772503446055314;...

etwa 2 Jahre vor | 0

Beantwortet
MATLAB system requirement for a faster Simulink output
To suggest you or somebody to upgare one's PC is quite subjective opinion I believe. Because the end user and who is paying for ...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Matlab step() from Simulink dataset
Hi Oleg, One can obtain tf or state space representation of the system model from a Simulink model by linearizing it the Simuli...

etwa 2 Jahre vor | 0

Beantwortet
FFT function error with higher size of data
In your exercise, fftn() would be faster and more efficient to run simulations - see DOC. However, in order to estimate which ...

etwa 2 Jahre vor | 0

Beantwortet
Moving Standard Deviation issues with NaN values (i.e., Stdfilt). Alternatives and workarounds?
NaN values can be substituted with (1) "some value" or (2) next to it value or (3) skip nan values element, e.g.: A = randi([-3...

etwa 2 Jahre vor | 0

Beantwortet
how to get outline of multiple shapes
Maybe you want to get something like this shape, e.g.: load('Data.mat') for ii=1:height(X) PGON = polyshape(X(ii,:),Y(ii,:),'...

etwa 2 Jahre vor | 0

Beantwortet
How to extract data from drawn images?
If you have a MATLAB figure, that can be used for data extraction, e.g.: figure('Name', 'Original plot') open('SIM.fig') ...

etwa 2 Jahre vor | 0

Beantwortet
Get specific data from if condition
If understood correctly, here is how to get it: ... for n = 1:length(ebnoVec) % Reset the error coun...

etwa 2 Jahre vor | 0

Beantwortet
Is there a faster complex exponent?
Let's compare two ways e.g.: Q = linspace(-10, 10, 1e6); tic; CQ1 = exp(1i*Q); T1 =toc tic; CQ2 = cos(Q)+1i*sin(Q); T2 ...

etwa 2 Jahre vor | 0

Beantwortet
Tables in Live Editor not consistent
Your output is correct, e.g.: MAG5 = magic(5); D1 = array2table(MAG5) D2 = array2table(MAG5, 'VariableNames',["C1", "C2", "C3...

etwa 2 Jahre vor | 0

Beantwortet
label each curve on semilog graph
Here are a couple of the possible ways to get this exercise done: t = logspace(0, 2, 1e3); Y1 = exp(sin(t)); Y2 = exp(cos(t))...

etwa 2 Jahre vor | 0

Beantwortet
How can i analysis this system?
Oksan, (1) Derive kinematic equations (relationships) of the bars and components: O2A vs. other bars (2) Write a code Start ...

etwa 2 Jahre vor | 0

Beantwortet
I need to know a command to find errors in data file
You stated greater or but your code statement is greater and equal: >= 1 & data <= 10 That should be: valid_data = data(data >...

etwa 2 Jahre vor | 0

Beantwortet
pzmap and bode do not return zeros for all specified outputs
Here is the corrected code: A = [ -1.6551724137931035e+0003 6.2068965517241384e+0002 1.0344827586206895e+0003 6.49984686...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Trying to plot a function
Here is the fixed code: theta_shock = 0:90; M = 2; g = 1.4; half_cone = atand((M^2*sind(theta_shock)-1)./(M^2*(g+cosd(2*thet...

etwa 2 Jahre vor | 2

Beantwortet
How can I control the tolerance in vpasolve?
Here is one example show how to adjust vpasolve tolerance: syms x EQN = sin(2*x) == 0.5; % Default sol_D= vpasolve(EQN,x) ...

etwa 2 Jahre vor | 0

Beantwortet
Custom dataset in matlab
There are a few different built in functions to import *.csv data into MATLAB workspace, e.g.: FName = 'DATA.csv'; % Way 1. re...

etwa 2 Jahre vor | 0

Beantwortet
Extract row data from a complex data file
Here is how it can be attained: filename = 'complex_data.txt'; % Set up the Import Options and import the data: opts = delimi...

etwa 2 Jahre vor | 0

Beantwortet
Sum of three phasors
If understood correctly, what you are trying to get is: A1B1 = 2+3i; A2B2 = 5+6i; A3B3 = 1.5 - 3i; Phase_AsBs = @(a,b,c) (a+...

etwa 2 Jahre vor | 0

Beantwortet
Finding a correlation table
One appropriate code for corr table is this one: https://www.mathworks.com/matlabcentral/fileexchange/30151-shaded-correlation-t...

etwa 2 Jahre vor | 0

Beantwortet
How to find gradient of a vector field in matlab symbolic
If you assign an expression for V, you will get this: clc ; clearvars syms x y z syms u(x,y,z) v(x,y,z) w(x,y,z) V(x,y,z) ...

etwa 2 Jahre vor | 1

Beantwortet
Plotting .mat file
The problem with your data is that you have not collected any measured data or saved in it. A = load('metro.mat') A.AudioInfo

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
How to find the minimum difference between the 3 elements of a vector in app designer?
Try to implement pdist2()

etwa 2 Jahre vor | 0

Beantwortet
Change The structure of a Variable
Your question is not quite clear to me. If your want to get cell array converted into Table, then use cell2table() - DOC

etwa 2 Jahre vor | 0

Beantwortet
solving four equations to find I1, I2, I3, I4 as functions of R1, R2, R3, V1 and V2
Here is the corrected code (there were some character problmes and undeclared V1 V2 R1 R2 R3 vars): syms I1 I2 I3 I4 V1 V2 R1 R...

etwa 2 Jahre vor | 1

Beantwortet
Having problems with integration equations.
Hi Thomas, Actually, all calcs are correct - see: syms t v_1 = 90/(1+0.3*t); d_1 = int(v_1,t) % Here d_1 is verified V...

etwa 2 Jahre vor | 0

Beantwortet
How to find root locus of a polynomial
Here is how to get the roots plotted. m_s = 1; % Mass of the spring m_r = 68; % Mass of the rotor k_r = 5.45e5; % Spring...

etwa 2 Jahre vor | 0

| akzeptiert

Beantwortet
Importing Dates as variable names in an table from Excel
Here is one option that partially solves your exercise and explains it can't be solved completely: T_VARS = readtable('VAR_SAVE...

etwa 2 Jahre vor | 0

Mehr laden