Réponse apportée
How could we rescale the step response of MIMO state space model system?.
The system you have mentioned is fully controllable as the controllability matrix has full rank. By 'rescaling' I assume you wan...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Can't uninstall because it was deleted
You can try re installing or manually deleting as explained here: https://in.mathworks.com/matlabcentral/answers/92244-how-do-i...

plus de 6 ans il y a | 0

Réponse apportée
Block Diagram Transfer Function
I think you can use the linearize function to do that when you specify your linearization input and output properly.

plus de 6 ans il y a | 0

Réponse apportée
How to choose the desired poles for this system[MIMO closed system] (Controller and observer design) ?
Your problem is basically a set path tracking problem. In you case the 'r' is nothing but 'v' and N is the third matrix give...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Retrieve data from a particualr row
Use this: %% Initialize variables. filename = 'C:\Users\Raj\Desktop\out_Denmark2030Alternative.txt'; % Put your text file path...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Could you check this implementaion of Controller and observer design?
Pretty good start!! Now, please note that since you have mentioned that your doubt is in implementation, I have seen only your...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Help counting a string of 1s in 2018a?
You can use something like this: A=[0 1 1 1 0 0 1 1 1 0 0] A1 = [1,diff(A)]~=0; Count = [A(A1)']; Required_Answer=sum(Count(...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How to store results from loops and put them in matrice
Just pre define R as an empty array and use it inside the loop with suitable indexing. Something like this: R=zeros(10,1); % Pr...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Hi everyone Any help please. In Matlab, even if in guiding me
1) Step 1: Choose suitable time domain criteria for your system and See the example on how to compute the dominant eigen values ...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Calculate taxi fare by giving multiple inputs and single output
Seems quite straightforward. Where exactly are you having problem? Your formulation should look like this: Fare=5+(2*(d-1))+(t*...

plus de 6 ans il y a | 1

Réponse apportée
lsim giving NaN output for zero input
I am getting zero output for zero input if that's what you are looking for. Check how you are using lsim. Zeros=[-37436128.4318...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Select rows and put into cell array
A=rand(10000,10) ii=1; for jj=1:10 num=1; for l=ii:10:10000 B(num,1:10)=A(l,1:10); ...

plus de 6 ans il y a | 1

Réponse apportée
How to store matrix whose dimension is changing in each iteration ?
Use cell array for i = 1:10 A = rand(i,i) % A size is changing with every iteration B{i} = A; % Store A as cell en...

plus de 6 ans il y a | 0

Réponse apportée
hi. im trying to turn these explanation into codes but i cant, can someone help me please?
How about this: https://in.mathworks.com/matlabcentral/fileexchange/64078-skin-segmentation-based-rgb?s_tid=answers_rc2-2_p5_ML...

plus de 6 ans il y a | 0

Réponse apportée
displaying matrix in .txt file (fprintf)
Just tweaked you code itself a little bit: fileID=fopen('MyFile.txt','w'); % Open text file for writing for k=1:3 fp...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How to print 1x50 array into a text file
Answer given by Akira is the optimal solution but since you have mentioned 'fprintf' as a tag, here are two ways to get what you...

plus de 6 ans il y a | 1

Réponse apportée
How initial condition of input in Matlab Function in algebraic loop?
1) "Does the input have to have initial conditions or not?" Definitely yes. Without Initial condition how will the algebraic loo...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
how to read previous data
Define alpha in an array and use the previous two elements by suitable indexing in a 'for' loop. Something like this: n=input('...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Bring To Workspace variables from Simulink to base workspace from a matlab function
Use Simset. See details here. The 'DstWorkspace' property specifies the workspace in which to assign any variables defined in th...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Trouble with difference equation
1) For which value of 'a' are you trying to plot the stem graph? If for all the values from a=0:0.01:11 then shift the plot outs...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
license manager error -103
See here: https://in.mathworks.com/matlabcentral/answers/91874-why-do-i-receive-license-manager-error-103 Also, See here: htt...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
How do I obtain the matrix Q and R in LQR?
My response is quite late but since nobody has answered this question let me give a try. Maybe it'll benefit other people with s...

plus de 6 ans il y a | 0

Réponse apportée
Automatic data exporting/saving into "to workspace"
Question is not very clear. What I undertand is that you want to save some data to workspace. But instead of continuously saving...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Can a Simulink Modell, which been saved with Matlab 2011b, be opened with Simulink/Mtlab2016b?
Yes you can open a model created in 2011b version in 2016b version. However you need to be a bit careful here. If your model con...

plus de 6 ans il y a | 0

Réponse apportée
double arrows << are lost
You should have attached a screenshot with your question. Nevertheless see this post: https://in.mathworks.com/matlabcentral/an...

plus de 6 ans il y a | 0

Réponse apportée
Reading/writing in data from set of text files in loop
You can use 'sprintf' command in a loop to achieve this. Something like this: Mydata = zeros(100000, 10); for i=1:1 % Number o...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Effect of Unit Delay Block on Linked Models
You are right about the part that use of unit delay block has caused unexpected results. I have faces similar problems while des...

plus de 6 ans il y a | 0

Réponse apportée
Selecting Elements of an Array in Simulinks Based on Simulation Time
Since you have not shared your model, its difficult to give a precise answer. I assume you must be using user defined matlab fun...

plus de 6 ans il y a | 0

Réponse apportée
Can I add units to the table?
"Can I add units to the variables in the table?" Yes you can. You can specify units for each variable in the table by modifying ...

plus de 6 ans il y a | 2

Réponse apportée
How to store output for each input.
clc inputNames = {'mat1.mat', 'mat2.mat', 'mat3.mat'} length(inputNames) for i = [1:length(inputNames)] load(inputNames{...

plus de 6 ans il y a | 1

| A accepté

Charger plus