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...
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 前 | 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(...
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 前 | 0
| 已接受
已回答
"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...
"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 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答已回答
how 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 ...
how 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 前 | 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...
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 前 | 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...
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 前 | 0
| 已接受
已回答
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...
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 前 | 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.
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 前 | 1
| 已接受
已回答
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...
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 前 | 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>
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 前 | 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...
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 前 | 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]. ...
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 前 | 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...
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 前 | 8
| 已接受
已回答
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 ...
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 前 | 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 ...
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 前 | 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.
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 前 | 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.
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 前 | 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) ...
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 前 | 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...
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 前 | 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 ...
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 前 | 0
提问
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 前 | 1 个回答 | 0
1
个回答已回答
Converting 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...
Converting 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...
11 years 前 | 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...
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 前 | 7
| 已接受
提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 0 个回答 | 0
0
个回答提问
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 前 | 1 个回答 | 0
1
个回答提问
How to run a MATLAB program on DSK 6713 kit?
How to run a MATLAB program on DSP320C6713 kit?
11 years 前 | 1 个回答 | 0