Top 5% contributor
You can use
etc.,where number 'n' in figure(n) indicates the figure window number.
Answered 1 year ago
Use function 'pause'.
a = 20;
b = 40;
disp('Press a key !') % Press a key here.You can see the message 'Pause...
In C language,we can come out of a running program by key combination
'Ctrl + Pause Break'.What can we do in case of running M...
Asked 2 years ago
I am a beginner in image processing.My question is -
There are many specialized image processing softwares.Is MATLAB better tha...
Asked 11 months ago
If you want to create 5 vectors of the same size,instead of
Answered 10 months ago
A = round((rand(2)*11-5.5))
B = round((rand(3,4)*21-10.5))
[rA,cA] = size(A);
[rB,cB] = size(B);
For two matrices A and B;
1. for horizontal concatenation,use [A,B] or horzcat(A,B).
2. for vertical concatenation,use [A;B].
C and C1,both are one and the same thing.
A = [22 33 44 55 66 77]
B = reshape(A,2,)
temp = 1:size(B,1)
Use this function :-
function summie( x,y )
disp(['The summie is: ', num2str(z)])
Answered 2 years ago
For studying purpose, I want to just check whether MATLAB can send some data to serial port (COM1) or not. Can anyone suggest me...
Asked 1 year ago
I am so much confused !!!
I want to run a program written in MATLAB on DSK TMS320C6713.It seems from ‘Link for code composer s...
I have MATLAB version 22.214.171.12420 (R14) and code composer studio version 3.1.0
installed on my computer.Are they compatible wit...
How to run a MATLAB program on DSP320C6713 kit?
In the statement
u = m * c;
MATLAB tries for 'matrix multiplication'.Marix multiplication is possible when a matrix of d...
Answered 9 months ago
Please format your question by selecting PROGRAM part in your question and then using button
Answered 11 months ago
Try this -
swtCI = [.99 .95 .50 ]';
for i = 1:length(swtCI)
disp(['Upper Bound for ',num2str(swtCI(i,1))]);
I think the code which I am going to put here is the standard code to reverse a number.(This code is used in C language,of cours...
I think you have not taken much efforts for your problem.'Google' can give you the information which you want.
You have to us...
if mean(im(:))>=10 & mean(im(:))<=47 :- Second 'if'
if mean(im(:))>=47 & mean(im(:))<=50 :- Third 'if'
You can refer this -
I think there is an error in line
f = y(i)-5-.........
Try this line instead-
f = y(i)-5*exp(x(i)/2)*sin(5*x(i))+5*e...
I think this code can help you.
a.name = 'QWERTY';
a.age = 20;
a.weight = 50.340;
b.name = 'QWERTY';
I don't know your code but I think this will help you.
number = 20;
level = 4;
answer = ;
for i = 0:level-1
a = [7900, 9800; 0.02, 0.05]
fprintf('%d \t\t %g\n',a);
Try this! See help about 'fprintf()' in MATLAB help.
It is assumed that 'A' and 'toggle' contain only 0's and 1's.
I think,this will give you correct answer.
y = x(:,1); z =x(:,2); Vy =x(:,3); Vz =x(:,4);
Rasmus,entered matrix is wrong again! I get this fact from your description. Your matrix is -
10 12 15 1 ...
In MATLAB, either a comma(,) or a semi colon(;) separates two statements.
Semi colon doesn't print the answer.
I think,you w...
I have a [3*8] matrix (which is matrix 'a').I take a [1*8] matrix (which is matrix 'b') from user as input to arrange the matrix...
Can we use any version of MATLAB with 'Embedded Encoder' facility to work with any version of code composer studio?I have MATLAB...
Join the conversation