Risposto
MATLAB Guide - Simulating a 4 digit keypad?
find the attached gui. you can use this for your requirement. hope this works

oltre 10 anni fa | 1

| accettato

Risposto
Help With Error: "Attempted to access S_0(2); index out of bounds because numel(S_0)=1."
In the code u have declared S_0 and S_1 as scalars and you are trying to access them as vectors in the for loop.S_0 and S_1 ha...

oltre 10 anni fa | 0

| accettato

Risposto
How can I use struct variables in simulink model?
hi, 1.Struct variables can be implemented with the help of bus objects in simulink 2. they cannot be dynamically created or ...

oltre 10 anni fa | 0

Risposto
How do I program a pushback button on a GUI to open a folder?
use the command uigetdir in the call back function of the pushbutton

oltre 10 anni fa | 0

| accettato

Risposto
(Solved) How to plot the variance of elements in each bin of histogram?
plot the histogram using hist command then hold the figure using hold on. then plot the variant using plot command hist(a...

oltre 10 anni fa | 0

Risposto
i need help with this>?
A=[2,5,10;-8,-1,11;43,6,-2]; function B = ReplaceFunction(A) [m,n] = size(A); for i = 1:m for j = 1:n if(A(i,...

oltre 10 anni fa | 0

Risposto
How can i get a pathname with \*.jpg for an image folder.
[fname, pname] = uigetfile({'*.jpg','*.jpeg'})

oltre 10 anni fa | 0

Risposto
How to loop over these values?
Try this.. for i = 1 : length(cursor_info) out_var(i,1) = cursor_info(1,i).Position; end

oltre 10 anni fa | 0

Risposto
Problem with Enable subsystem in simulink
The output of the enable subsystem holds the value even if the subsystem is disabled. If you want to reset the output value do a...

oltre 10 anni fa | 0

Risposto
I' am facing a error"Out of memory. Type HELP MEMORY for your options."
you can adjust your matlab heap memory if you are working with very huge data. go to matlab>>file>>preferences and follow the s...

oltre 10 anni fa | 0

Risposto
add columns (as operations of original colms) at specific intervals in array w'out overwriting original colms
A = [0.0937 -0.0227 -0.0904 -0.0852 -0.0887 0.1397 -0.0505 0.0211 0.0095 -0.0267 0.0627 -0.0356 0.2087 -...

oltre 10 anni fa | 0

Risposto
how to append "specific columns" in an array
A = [0 0 0 0;0 0 1 0;1 1 1 1;0 1 0 1]; appending 1st column of A at the end| A = [A A(:,1)];

oltre 10 anni fa | 0

Risposto
Convert algorithm code to simulink model
Suma, Please find the attached model. I hope this will help you

oltre 10 anni fa | 0

| accettato

Risposto
How to display entries of a vector with exclusion?
for i = 1:length(A) idx = A{i}-i; V(idx) = []; end

oltre 10 anni fa | 0

Risposto
What presetting I require for attending webinars ?
nothing, you just need to have a pc with internet connectivity and speakers. thats it.. Good luck

oltre 10 anni fa | 0

| accettato

Risposto
xlsread1 suggested by Antonio will take much time
Excel = actxserver('Excel.Application'); workBook = Excel.Workbooks.Open('filename.xls'); workSheets = Excel.Sheets; ...

oltre 10 anni fa | 0

Risposto
a queston to plot
for i=1:100 load (['a' num2str(i) '.mat']) hold on end

oltre 10 anni fa | 0

Risposto
How to get the variables into workspace while running GUI?
use the command evalin('base','who');

oltre 10 anni fa | 0

Risposto
Remove cells that contain only two or one character
len = length(xx) cnt = 1; for i = 1:len str = char(xx(cnt)) if(length(str)==1 || length(str)==2) ...

oltre 10 anni fa | 1

| accettato

Risposto
How to open variables in command line?
use the command openvar(variablename) eg: if variable name is var then enter the command openvar('var')

oltre 10 anni fa | 7

| accettato

Risposto
Characteristics of a step response plot
i think this could be helpful http://www.mathworks.in/help/control/ref/stepinfo.html http://www.mathworks.in/help/control/re...

oltre 10 anni fa | 1

| accettato

Risposto
help please Need help making a script!!! any help?please
Please check if this satisfies your requirement function mathgame = mathgame() clc; disp('Welcome to the math game!'...

oltre 10 anni fa | 0

Risposto
help in inserting figure and also open another window using a gui.
you can add 'axes' to your figure file of GUI so that the figure will get displayed in the same gui.

oltre 10 anni fa | 0

| accettato

Risposto
how to store the images by some another name after reading in a for loop???
filename = ['g' num2str(i) '.jpg']; saveas(m,filename)

oltre 10 anni fa | 0

| accettato

Risposto
how to display a error message then proced further when the string doesnot matches by using for and if loop
try ....your code catch exception disp(exception.message) end

oltre 10 anni fa | 0

Domanda


Integrate assembly code with Simulink Models.
Is there any procedure to integrate the assembly code (.asm) with Simulink models.

oltre 10 anni fa | 0 risposte | 2

0

risposte

Risposto
why i am not getting the plot while giving the following program with if else statyement?please help
r=10; d=[1 100 1000]; P1=10^9; P2=130*10^9; s=d./r; a=0; c=2; x=s; if (a<=x<=2) e1=1; else if (x>=2) ...

oltre 10 anni fa | 0

Risposto
index error for find function
k = find(newf == 14.6484); ppks = Signal_fft_hilbert(k);

oltre 10 anni fa | 0

Risposto
Basic question from Matlab beginner
plot(age1,wage1); %for 1st person hold plot(age2,wage2);for 2ns person ... ....

oltre 10 anni fa | 0

Risposto
Switch between subsystems using a trigger
use if action subsystems instead of normal subsystem and connect the output of if/else block to the function call port of the if...

oltre 10 anni fa | 0

Carica altro