Respondida
Transfer Function Models in the System Identification App
The transfer function models in the System Identification Toolbox are linear systems. If, for the range of inputs, and possibly ...

más de 3 años hace | 0

Respondida
Extract values at a particular time of a simulation to use in the same simulation
You can use the "Stop Simulation" block for this purpose. This block stops the simulation when its input becomes true (non-zer0)...

más de 3 años hace | 0

| aceptada

Respondida
how to delete all row contain a 1's and how to delete a column contain 1's. Q=[3 1 1 0 0 1;1 3 1 0 1 0;1 1 3 1 0 0;0 0 1 3 1 1;0 1 0 1 3 1;1 0 0 1 1 3]
icd = any(Q==1,1) ird = any(Q==1,2) Qnew = Q(~ird,~icd) In the example matrix you provide, every row and every column contain...

más de 3 años hace | 0

Respondida
Variance using median filter
In your expression: variance = medfilt2(double(I_noise).^2, [N N], 'symmetric') - (medfilt2(double(I_noise), [N N],'symmetric')...

más de 3 años hace | 0

Respondida
How to determine sign properties (++, +-, --) of sum block using matlab coding
Suppose your Simulink model is called myModel, and the sum blocks are named Sum1 and Sum2. You can get the signs, for example ...

más de 3 años hace | 0

| aceptada

Respondida
Finding the difference in growth rate between graphs
I'm assuming you want to characterize the growth rates, by the instantaneous rate of change of your control and test values. By ...

más de 3 años hace | 0

| aceptada

Respondida
write number next to each other + return value 0/1
Let us say your table is called T, then you can use: T.ID = string(T.hod) + string(T.min) + string(T.s) + string(CasVSekundach...

más de 3 años hace | 0

| aceptada

Respondida
I want to concatenate two coloumns of table.
I am assuming you have a single MATLAB table, let's call it T, with two columns, one called freqa and another freqb. In this ca...

más de 3 años hace | 0

| aceptada

Respondida
how to filter out column of data with zero value on continuous signal in simulink?
I would suggest assigning the "Initial output" parameter of your Transport Delay block and the "Initial Condition" of your Memor...

más de 3 años hace | 0

| aceptada

Respondida
How do I send data to excel formula input cell , and receive the output cell data back to Matlab command window. Any examples please help thanks ?
Assuming it is really required that you go back and forth between Excel and MATLAB you can use MATLAB's spreadsheet link product...

más de 3 años hace | 1

Respondida
Index in position 2 must be positive or logical value error?
I think the problem is that you are rounding to 2 decimal place rather than just rounding to an integer. This makes indices for ...

más de 3 años hace | 0

Respondida
convert python code into Matlab
Do you actually need to convert your python code into MATLAB (as it says in your question title) or just use Python code from MA...

más de 3 años hace | 0

Respondida
Behavior of isPassive and hinfnorm.
I'm thinking that you may have some numerical issues with poles very close to the jw axis. Your transfer function uses quite hig...

más de 3 años hace | 2

| aceptada

Respondida
Extract all indexes inside a text file
I'm not quite clear what you want to do with the data, but I'm assuming you want to get the text table into some form that you c...

más de 3 años hace | 1

| aceptada

Respondida
Anti-aliasing filter design
For the purposes of preventing aliasing the only thing that is essential is that the resulting frequency content that is above ...

más de 3 años hace | 0

Respondida
I have a 32*1 cell array. How I can convert it to categorical?
You could do something like this: % As an example make a cell array whose elements are random matrices numMatrices = 10; % num...

más de 3 años hace | 0

Respondida
How to remove February 29th for leap years in a daily time series over 43 years?
I fully support @dpb suggestions regarding working with timetables. However for purposes of making your graphic, you could do th...

más de 3 años hace | 0

| aceptada

Respondida
Remove a set of intervals from an array
There may be a clever way of doing this without loops, but othewise you can remove the columns in your variable called data as...

más de 3 años hace | 1

Respondida
How to add white gaussian noise to an EEG data timetable?
I am not familiar with .edf files however I think the following example should illustrate the approach and you can adapt for you...

más de 3 años hace | 0

Respondida
How to find R,C,L model parameters based on current measurement of a step response?
If you have the System Identification Toolbox, you may be able to use the "graybox" system identification techniques for this pu...

más de 3 años hace | 0

| aceptada

Respondida
Guys how can i change the vector length in column number 50 (figure 2) of my code below? i have this error "Error using plot. Vectors must be the same length"
I may have missed something, but it looks like the first place that your variable r is assigned is the line r(count:count+width...

más de 3 años hace | 0

Respondida
How to rearrange time array in a matrix of years and days?
X = reshape(X,365,43)'

más de 3 años hace | 0

Respondida
I need to populate ListBox_2 when an item in ListBox_1 is selected
I have attached an example of how to do what I think you are asking

más de 3 años hace | 0

| aceptada

Respondida
How to input this vector in simulink ?
In general for this situation you could use a From Workspace block (in sources library) , where you would assign the input matri...

más de 3 años hace | 0

Respondida
How to loop through each row of a column, then loop through the remaining columns?
It's a little hard to tell without having the values for your matrix data to try this with, but it looks like you should modify ...

más de 3 años hace | 0

Respondida
Finding First non-zero derivative to find nature of turning point
Assuming you are always working with polynomials you could try something like this. This code is untested but should help point ...

más de 3 años hace | 0

Respondida
How to transfer data between two applications?
In appA add an instance of appB as a property (and assign it in the startup function). In appB assign a property for the data ...

más de 3 años hace | 0

| aceptada

Respondida
Hello, Could anyone please help me with this issue. In this code, I want to save the output results after each increment in excel and I am unable to do it. Thanking you .
You don't really explain exactly what your problem is (you just say you "can't do it"). I assume your problem you are complaini...

más de 3 años hace | 0

Respondida
How to filter the following vector from multiple vectors?
I think this does what you describe % filter matrix mm % parameters threshold = 32 % extract the matrix out of the cell ...

más de 3 años hace | 2

| aceptada

Respondida
"Intermediate dot indexing produced a comma-separated list.." error prevents extracting values from nested indexed fields
If you want the max over all of the grades you can do it very simply like this val = max([a.students.grades])

más de 3 años hace | 1

| aceptada

Cargar más