Beantwortet
uitable formatting (cell borders, color,comma style)
Open the GUI with GUIDE first, then double click on the table. A window named property inspector will open up. Property inspe...

mehr als 13 Jahre vor | 1

Beantwortet
UItable -- plotting the data in the centre of the table
We should edit the cells that make the table... See: http://www.mathworks.com/matlabcentral/answers/2928

mehr als 13 Jahre vor | 0

Beantwortet
How do i construct this matrix with else and elseif statements? Or should i be using cases?
N=10; A = zeros(N,N); for i=1:N for j=1:N if i=j A(i,j)=5; end if i+1=j A(...

mehr als 13 Jahre vor | 0

Frage


How to make the gain of the Discrete Derivative block tunable?
Are the "Gain Values" of the "Discrete Derivative" and "Discrete Time Integrator" blocks tunable? In my model these gains are...

mehr als 13 Jahre vor | 1 Antwort | 0

1

Antwort

Beantwortet
What are the "Real-Time Model" objects for in simple code generated by embedded coder
extra code is generated according to the "Configuration Parameter"'s setting. For example, Go to the Interface pane and check ...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
Changing SimPowerSystem Block Parameter during simulation runtime
If this block's parameter is tunable, then all you need to do is to define your parameter in MATLAB's base workspace and to tune...

mehr als 13 Jahre vor | 0

Beantwortet
Cell value in workspace into a matrix ! HOW?!
Assuming that the name of the cell is coeffs. If you want to convert a cell to matrix, do this: A = zeros(size(coeffs));...

mehr als 13 Jahre vor | 0

Beantwortet
how can I read a text file line by line containing titles of the research papers?
Hi shabnam jan, There is this command in MATLAB where you can read from a text file. It is like this: text = fileread(filename)...

mehr als 13 Jahre vor | 0

Beantwortet
developing GUI using guide to interact with simulink model
You can trigger the GUI with its name (whatever name you saved it with) as long as the GUI's m-file and figure are in MATLAB pat...

mehr als 13 Jahre vor | 0

Beantwortet
Define the ODE equals the matrix. Runge Kutta 4
Change xinital= [ 0 0 -2 0.4] to xinital= [ 0 0 -2 0.4]' or xinital= [ 0;0;-2;0.4]

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
How can I do numerical simulation in Matlab?
I would do it in Simulink! For example for the first two equations, you can create signals named C1(t), i1(t) and E(t) and ...

mehr als 13 Jahre vor | 0

Beantwortet
Write a script that prompts the user to input a function, f(x),
In the first line of your code you cannot say x=linspace(a,b,N); because a, b and N are not yet defined there.

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
Help writing a tracking code for 1 hour of data at a time
you may want to use these commands: save data.mat and later say load data.mat you can put them in a for loop for exa...

mehr als 13 Jahre vor | 0

Beantwortet
Outputting 3D Arrays to Excel for plotting
1- I think the dimension depends on the dimension of your parameters, i.e. f, real_inc,... 2- try using this format: fprin...

mehr als 13 Jahre vor | 0

| akzeptiert

Frage


segmentation error when I use close_system in my sl_customization file
I started creating my custom menus in Simulink using a custom sl_customization.m file. In one of the menus I need to close the m...

mehr als 13 Jahre vor | 0 Antworten | 0

0

Antworten