Community Profile

Contact

Top 5% contributor

You can use figure(1),figure(2) etc.,where number 'n' in figure(n) indicates the figure window number.

accepted

1

Answered 1 year ago

Use function 'pause'. e.g. 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...

2 Answers

0

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

1 Answers

Asked 10 months ago

If you want to create 5 vectors of the same size,instead of count=5 for n=count:-1:1 dictionmatrix{n}=zeros(...

Answered 9 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); finalansw...

Answered 12 months ago

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 ) z=x+y; disp(['The summie is: ', num2str(z)]) end That is...

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 7.0.0.19920 (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 8 months ago

Please format your question by selecting PROGRAM part in your question and then using button "{}Code". Since xa1,xb1,xa2,xb2...

Answered 10 months ago

Try this - swtCI = [.99 .95 .50 ]'; for i = 1:length(swtCI) disp(['Upper Bound for ',num2str(swtCI(i,1))]); end ...

Answered 11 months ago

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' I think,yo...

You can refer this - <http://www.mathworks.com/matlabcentral/fileexchange/33493-simpsons-13-and-38-rules/content/simpson.m>

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'; b.age ...

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.

xor(A,toggle) OR bitxor(A,toggle) It is assumed that 'A' and 'toggle' contain only 0's and 1's.

I think,this will give you correct answer. [dotx]=me12ttdP4(t, x) y = x(:,1); z =x(:,2); Vy =x(:,3); Vz =x(:,4); Vdoty=(K...

Rasmus,entered matrix is wrong again! I get this fact from your description. Your matrix is - C = 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...

0 Answers

Can we use any version of MATLAB with 'Embedded Encoder' facility to work with any version of code composer studio?I have MATLAB...

Load more