Respondida
How to calculate the mean and standard deviation of the following matrix considering only the nonzero values of the matrix ?
In MATLAB, you can calculate the mean and standard deviation of the non-zero values in a matrix using the following steps: Step...

más de 1 año hace | 0

| aceptada

Respondida
"eig" in Simulink Matlab Function returns complex value.
Hey @주형 The difference you're observing in the output of the MATLAB function when used in Simulink versus when used in a standa...

más de 1 año hace | 0

Respondida
In Simulink I would like to use a "classdef object" in stead of a struct to initialise a bus signal
Hey @Wim Vaassen ! Unfortunately, it is not possible to use s_class directly as an initialization for a Simulink bus signal. B...

más de 1 año hace | 0

Respondida
Error when using h5info
Hey @Mahmoud Elzouka It looks like there is a problem with the h5infoc function, which is called by h5info, as it can't find th...

más de 1 año hace | 0

Respondida
How to get the full precision on timestamp after using canSignalImport?
Hey @Il-Taek Kwon I understand that you need more precision in your timestamp value, long format is one way to do it and it...

más de 1 año hace | 0

Respondida
How do I add a unique ID to the the graph in CAN Explorer in the Vehicle Network Toolbox?
Hey @Jeremy According to my understanding you have imported some CAN data in Vehicle Network toolbox but having trouble visuali...

más de 1 año hace | 1

| aceptada

Respondida
input live data (continuously generated data) from app designer to simulink
Hey @Kizito Amungwa Achembong As per my understanding you want to share a continuously changing variable in your app designer t...

más de 1 año hace | 0

Respondida
Numerical integration involving log(exp(f(x))) shows NaN
Hey @YI-WEN PAN, The possible reason for getting r1=-Inf in the expression log(exp(f(x))), is due to the limited precision of f...

más de 1 año hace | 0

| aceptada

Respondida
I have problem with [Response,Lower,Upper] = irf(Mdl,NumObs=50,Confidence=0.9);
Hey @FRANCESCOMARIA To change the number of observations in the IRFs, you can pass an additional argument to the irf function i...

más de 1 año hace | 0

Respondida
Horizontal concatenating table with matrix/array in loop
Hey @Yasir You can use horzcat function which concatenates arrays and tables together. You can do something like this: for i...

más de 1 año hace | 0

| aceptada

Respondida
Reading multiple datasets in hdf5
Hello! You can use MATLAB's h5info function to get information about the contents of the HDF5 file(including the names of the d...

más de 1 año hace | 0

Respondida
Error message: Warning: Matrix is close to singular or badly scaled. Results may be inaccurate. RCOND = 2.078506e-18.
Hello! The code is likely giving infinite values for D_g because the Dg matrix is singular for certain values of ng and kg. In o...

más de 1 año hace | 0