Réponse apportée
Why don't I get a direct error message for an undefined mask variable of a Simulink block if this is a partly undefined structure element?
Looks like by default it doesn’t highlight in red when it’s a struct field which is undefined. You could either give each ma...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
How to pass vector variable in Simulink Bus?
Create Bus Object:Inside the MATLAB Function block, define the bus object using the Simulink.Bus.createObject function. This sho...

presque 2 ans il y a | 0

Réponse apportée
How to pass a struct to a model reference instance?
elems(1) = Simulink.BusElement; elems(1).Name = 'Chirp'; elems(2) = Simulink.BusElement; elems(2).Name = 'Sine'; S...

presque 2 ans il y a | 0

Réponse apportée
Question about a way variable appears
celldisp(Variables) Variables{:}

presque 2 ans il y a | 0

Réponse apportée
for loop does not iterate
x_realroots = x_roots(abs(imag(x_roots)) < 1e-4) % 1e-4 tolerance

presque 2 ans il y a | 1

Réponse apportée
reading vector data sets from simulink model back into matlab .m file to create variable and then manipulate operation of simulink model
why not use a MATLAB Function block in your model and call the script as a function within this block? YOu have two more optio...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Multiplying a cell array element with an element of a matrix gives wrong result
cellarray{this} * vpa(matrix(that))

presque 2 ans il y a | 1

Réponse apportée
record all signals on all hirachies of a Simulink model
<https://de.mathworks.com/help/simulink/ug/export-simulation-data-1.html>

presque 2 ans il y a | 0

Réponse apportée
配列の並び替え
a = 1 : 9; assert(~rem(prod(size(a)), 3), 'not multiples of 3') reshape(a, 3, []) reshape(a.', 3, []) reshape(a, 3...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
行列をナンバリングして作成する
p = perms(-1 : 2 : 1); c = num2cell(p, 2); celldisp(c)

presque 2 ans il y a | 0

Réponse apportée
How do I form a matrix from an array of rows and columns
A(a + (b-1)*size(A,1)) = 0

presque 2 ans il y a | 1

Réponse apportée
Multiplying and finding inverse of a matrix.
It’s inv() not invs()

presque 2 ans il y a | 0

Réponse apportée
I'm new to matlab and I use 2017b version, may I ask why I can't connect the block?
Use a Simulink-PS Converter before you connect to the q port of revolute

presque 2 ans il y a | 0

Réponse apportée
Need to solve Fourier Series script
plot(x,y,'-',x,f,'--',x,g,'-','LineWidth',5); legend('Exact','Fourier (3 terms)','Fourier (6 terms)'); % use this line before ...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
How to pass multiple signals in Fractional-order Integration in SIMULINK (MATLAB)?
Use a For - Iterator subsystem which encapsulates this Integrator block. For the iterator you need to feed in the output of the ...

presque 2 ans il y a | 0

Réponse apportée
Full Bridge Rectifier simulation
<https://www.mathworks.com/help/simscape/ug/full-wave-bridge-rectifier.html>

presque 2 ans il y a | 0

Réponse apportée
Matlab function assumed inputs
Use nargin() to determine if number of inputs are less than three assign the default values to alpha and beta else feed in the a...

presque 2 ans il y a | 0

Réponse apportée
My 'to workspace' block isn't working
out.V_BT % in command window to access the values of the variable

presque 2 ans il y a | 0

Réponse apportée
Error: Index exceeds the number of array elements
momentum_def was defined as a scalar before the loop but you are trying to access the second element in the first interation of ...

presque 2 ans il y a | 0

Réponse apportée
Define variable based on input condition
psi = ((0 <= th2) & (th2 < 180)) .* psi_pos + ((180 <= th2) & (th2 < 360)) .* psi_neg; plot(th2, psi)

presque 2 ans il y a | 0

| A accepté

Réponse apportée
Call Graphics Array to Make Figures Later In Code
h = cell(width(exampledata), 1) % outside loop for k = 1 : width(exampledata) h{k} = fig("Name" + k); % do what you w...

presque 2 ans il y a | 0

Réponse apportée
Obtain your license number by running MATLAB and typing ‘license’ at the command prompt or contact your MATLAB administrator.
As it suggests type license %or ver at the command window

presque 2 ans il y a | 0

Réponse apportée
Piecewise function graph help
F = (r < d) * 0 + ((r >= d) & (r <= r1_max)) .* ((s+2.*sqrt(r.^2-d^2))./(L-s)) + ((r >= r1_max) & (r <= r2_max)) .* ((sqrt(r.^...

presque 2 ans il y a | 0

Réponse apportée
I have two sets of data points named X and Y, each of which is a 730x1 matrix. The data are very close to each other, how can I plot a smooth curve between the data
<https://www.mathworks.com/help/matlab/data_analysis/data-smoothing-and-outlier-detection.html> choose the one that suits you th...

presque 2 ans il y a | 0

| A accepté

Réponse apportée
where is signalbuilder in simulink 2023b
<https://de.mathworks.com/help/simulink/slref/signaleditorblock.html Signal Editor Block> is recommended than Signal builder blo...

presque 2 ans il y a | 1

Réponse apportée
discrete fixed point and their stability
eq1(i)

presque 2 ans il y a | 0

Question


Constant block doesn't accept array
Not sure why the constant block doesn;t give the output as array. Is there any to make it possible?

environ 3 ans il y a | 3 réponses | 0

3

réponses

Question


Why does the output of audioread() gives samples less than shown in audioinfo() ?
for some reason there is no problem in mac but in windows

plus de 3 ans il y a | 1 réponse | 0

1

réponse

Réponse apportée
Convert time vector of Year, Month, Day, Hours, Minute to Decimal format
doc ymd doc hms

presque 4 ans il y a | 0

Réponse apportée
How to find first instance of a value in array?
help find % read the third explanation

plus de 4 ans il y a | 0

Charger plus