**Statistics**

RANK**1,178**

of 294,560

REPUTATION**60**

CONTRIBUTIONS

**11** Questions

**23** Answers

ANSWER ACCEPTANCE **
18.18%
**

VOTES RECEIVED**20**

RANK

of 20,123

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 151,939

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Feeds**

Getting "??? Error using ==> mtimes Inner matrix dimensions must agree" error

In the statement u = m * c; MATLAB tries for 'matrix multiplication'.Marix multiplication is possible when a matrix of d...

10 years ago | 0

I want to be able to preallocate multiple iterations of a matrix inside a for loop i.e. matrix(count)=zeros(L:1), matlab keeps telling me dimensions don't match. Is there a syntax way to do this? I was thinking maybe change to an if else if.....

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

10 years ago | 0

| accepted

"Not enough input arguments"

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

10 years ago | 0

Question

Is MATLAB more powerful than specialized image processing softwares ?

I am a beginner in image processing.My question is - There are many specialized image processing softwares.Is MATLAB better tha...

10 years ago | 1 answer | 0

### 1

answerhow to say a number in the title

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

10 years ago | 0

help solving string question

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

10 years ago | 0

use the nested loop to calculate the kronecker product for different size

A = round((rand(2)*11-5.5)) B = round((rand(3,4)*21-10.5)) [rA,cA] = size(A); [rB,cB] = size(B); finalansw...

10 years ago | 0

| accepted

use the nested loop to calculate the kronecker product for different size

I think you have not taken much efforts for your problem.'Google' can give you the information which you want. You have to us...

10 years ago | 0

hi , how can i plot more than one figure separately ( i don't mean subplot or hold on) ?

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

10 years ago | 1

| accepted

my code is getting skipped

if mean(im(:))>=10 & mean(im(:))<=47 :- Second 'if' if mean(im(:))>=47 & mean(im(:))<=50 :- Third 'if' I think,yo...

10 years ago | 0

how to integrate x/(1+5x^4) using the simpsons rule

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

10 years ago | 0

what is wrong with this euler method code?

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

10 years ago | 0

How can we join two matrices of two dimmention

For two matrices A and B; 1. for horizontal concatenation,use [A,B] or horzcat(A,B). 2. for vertical concatenation,use [A;B]. ...

10 years ago | 1

How to pause execution of program until a keypress

Use function 'pause'. e.g. a = 20; b = 40; disp('Press a key !') % Press a key here.You can see the message 'Pause...

10 years ago | 8

| accepted

how to store the float values in a structure and compare the structure

I think this code can help you. a.name = 'QWERTY'; a.age = 20; a.weight = 50.340; b.name = 'QWERTY'; b.age ...

10 years ago | 0

Half split a number in subsequents arrays.

I don't know your code but I think this will help you. number = 20; level = 4; answer = []; for i = 0:level-1 ...

10 years ago | 0

How can I fetch values from 2 vectors of numbers without without changing their format.

a = [7900, 9800; 0.02, 0.05] fprintf('%d \t\t %g\n',a); Try this! See help about 'fprintf()' in MATLAB help.

10 years ago | 0

How to use invert values of a logical array

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

10 years ago | 2

is it possible to get index of reshaped matrix

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

10 years ago | 1

Using a matrix as an input argument for a function

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

10 years ago | 0

Sum of an arrays elements

Rasmus,entered matrix is wrong again! I get this fact from your description. Your matrix is - C = 10 12 15 1 ...

10 years ago | 0

Question

Check output of MATLAB at serial port

For studying purpose, I want to just check whether MATLAB can send some data to serial port (COM1) or not. Can anyone suggest me...

10 years ago | 1 answer | 0

### 1

answerConverting base 10 to base 2, dec2base help

In MATLAB, either a comma(,) or a semi colon(;) separates two statements. Semi colon doesn't print the answer. I think,you will...

10 years ago | 0

How can I suppress the 'ans' output?

Use this function :- function summie( x,y ) z=x+y; disp(['The summie is: ', num2str(z)]) end That is...

11 years ago | 7

| accepted

Question

How to get code in C?

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

11 years ago | 0 answers | 0

### 0

answersQuestion

What is exactly ‘makefile’ facility ?

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

11 years ago | 1 answer | 0

### 1

answerQuestion

Using makefile facility with code composer studio

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

11 years ago | 0 answers | 0

### 0

answersQuestion

Using makefile facility with code composer studio

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

11 years ago | 0 answers | 0

### 0

answersQuestion

Compatibility between CCS & MATLAB

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

11 years ago | 1 answer | 0

### 1

answerQuestion

How to run a MATLAB program on DSK 6713 kit?

How to run a MATLAB program on DSP320C6713 kit?

11 years ago | 1 answer | 0