The following results are found.


I want to use dot operator in matlab to perform element by element multiplication of a matrix. How can I do it? for example: I have two 2x3 matrices [1 2 3; 1 1 2], [1 -1 2; 4 1 1]. My output after multiply 2 matrices should look like: 1 -2 6 4 1 2
 
I have a few matrices and arrays such as Arrays : A = [1 3 5 ], B = [2 5 6], C = [ 1 5] Matrices D = [ 1 3; 2 5], E = [ 1 3; 2 5; 1 4], H = [ 1 3 4; 2 5 5; 1 4 6], I = [ 5 3 4; 2 1 5], Please let me know which matrices or array can I multiply, invert, add?
 
 
A = 5 2 B = 6 3 3 4 8 10 ans=A+B = 11 5 11 14
 
Example A = 1 2 B = 2 3 3 4 4 5 ans=A*B = 10 13 22 29
 
I am new to Matlab and I want to define variables, array, strings in Matlab so that I can play with them, Please let me know how can I do it? Thanks
 
I have a set of following linear equations: 10x + 2y - z = 27 -3x - 6y + 2z = -61.5 x + y +5z = 21.5 I want to use the lu function to perform LU factorization on A such that LU=A. how can I use L and U matrices to find the inverse of A.
 
I am new to Matlab,but I already know C. I dont know how can I use my knowledge of C in Matlab? I mean How is Matlab different from C? Do i need to define variables type and so on?
 
How to multiply 2 matrices?
 
create a sample program to show the use of 2-D Arrays in java.
 
I have two martices A=[1 2 3;4 5 6;7 8 9] and B = [1 1 1; 1 1 1;1 1 1]. I want to concatenate them horizontally and vertically. the horizontal output should be like this: 1 2 3 1 1 1 4 5 6 1 1 1 7 8 9 1 1 1 Vertical output should look like this: 1 2 3 4 5 6 7 8 9 1 1 1 1 1 1 1 1 1
 
 
I have to code jacobi in matlab to solve the following equation rn9a - 2b + 3c +24d = 54.5rn2a + 8b -2c + 3d = -14rn-3a + 2b +11c - 4d = 12.5rn-2a + 3b +2c +10 d = -21rnwith a 0.001 tolerance and an estimated max error which is e = abs(xns-xn)/(xn)rni've attached what i have so far any help please.
 
How to create a plotting matlab script, which does the following screen Fulscreen Increase font size Convert into pdf and save it to a file Plots on both sides of vertical axis.
 
I have a function y that I want to calculate using matlab y = e^(x+1) if x<-1 y = 2+cos(x) if -1<=x<5 y = 10(x-5) +1 if x>=5 I want to plot the value of y as a function of x
 
I have an ordinary differential equation dy/dx = -2x-y, with initial condition on y (x = 0) = -2, when x = 0 I want to numerically solver this ODE using 4th order Runke-Kutta Method in Matlab with a step size of 0.1.
 
How can I solve a linear programming problem (LP) in Matlab? Linear programming (LP) has linear objective function and linear constraints. eg. minimize: x+y subject to: x>1 y-x>5 y+x>3 Thanks.
 
How can I connect to a database in Matlab. I have a local database \'postgres\', username \'postgres\'. password \'123456\' port \'5432\' How would I know if I am being connected to the database? Thanks
 
I have the following optimization problem: min x^2+y^2 subject to: x-2y>1 x>0 How can I set it up in Matlab to obtain the solution?
 
I have an excel file, which has two columns name value John 2 Smith 3 I want to import both of the variables in a matlab variables. how can i do it? Thanks,
 

    Related Videos