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

meer dan 10 jaar ago | 1

| accepted

Answered
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...

meer dan 10 jaar ago | 0

| accepted

Answered
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 ...

meer dan 10 jaar ago | 0

Answered
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

meer dan 10 jaar ago | 0

| accepted

Answered
(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...

meer dan 10 jaar ago | 0

Answered
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,...

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

Answered
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...

meer dan 10 jaar ago | 0

Answered
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...

meer dan 10 jaar ago | 0

Answered
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 -...

meer dan 10 jaar ago | 0

Answered
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)];

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

Answered
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) ...

meer dan 10 jaar ago | 1

| accepted

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

meer dan 10 jaar ago | 7

| accepted

Answered
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...

meer dan 10 jaar ago | 1

| accepted

Answered
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!'...

meer dan 10 jaar ago | 0

Answered
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.

meer dan 10 jaar ago | 0

| accepted

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

meer dan 10 jaar ago | 0

| accepted

Answered
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

meer dan 10 jaar ago | 0

Question


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

meer dan 10 jaar ago | 0 answers | 2

0

answers

Answered
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) ...

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

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

meer dan 10 jaar ago | 0

Answered
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...

meer dan 10 jaar ago | 0

Load more