Community Profile

Contact

Top 5% contributor

I have to matrices A and B which both of them are p*q matrices. I want to compare each member of A and B like A(i,j) and B(i,j) ...

2 Answers

0

Asked 2 years ago

I have pairs of A{i}=[ai bi]. How can I change them to pairs B{i}=[bi ai]. I like to use Matlab special features in matrices.

Asked 3 years ago

I want to clear i column and j row from my matrix which I call it A. How can I do it by MATLAB features?

I have a n*n matrix and I want to find nine biggest numbers in it. How can I do it in MATLAB?

I have a program which should be repeated 5 times by a loop. I used plot() order in my program and I'm eager to change graph col...

>> t=spline(X,Y,h); >> plot(X,Y,'*',h,t)

accepted

Answered 3 years ago

How can I find the maximum value in a matrix and find its column and row number of this value?

I want to make a 3*12 matrix which its first, second and third row is N1, N2 and N3. N1, N2 and N3 are 1*12 vectors. I can...

I have an array like A which I want to have all of its elements zero by using Matlab features like zeros(x) function. for exa...

I want to convert a vector to a row of a matrix in a special situation which is necessary to resize it too as I explain. for ...

Hi I'm trying to use Matlab curve fittings. I used X=[1,2,3] and Y=[3,4,5] as known data and the codes introduced below: ...

1 Answers

Asked 10 months ago

Is it possible to change MATLAB .m files to .exe files in order to run the program on system which MATLAB is not installed on th...

I have a matrix like A which some of its members are NAN. I want to do some mathematical works on it, but I can not do it becaus...

I've used surf order with a simple method surf(X,Y,Z). X and Y are p*1 matrices and Z is a p*p matrix. I want to use colors to s...

<</matlabcentral/answers/uploaded_files/7238/nodes.png>> .. I have assembled some nodes in X-Y plane as shown below.So I h...

I wrote a program to give me some nodes as shown in the figure <</matlabcentral/answers/uploaded_files/7216/nodes.png>> F...

I have matrix like A which is in a square form p*p and a line matrix B in a form of q*1 (q<p). I want to clear rows and colum...

I have a matrix like Assem{1} which is equal to: Assem{1}=[0 6 2 0 0 7 0 0 0 12 3 0 1] My another matrix is: C=[W1 W2 W...

I have a Matrix named A and a number like B=11. I want to write a program which gives C=1 when B belongs to A and C=0 when B doe...

I'm using codes given below in my program, but nodes which are plotted each loop are too small (maybe just one pixel). How can I...

I'm using codes shown below and I want to use colorful * instead of colorful node. How can I change these codes to give me * wit...

I have a plot() order in my program and I want to have interpolation line on the graph besides specific nodes which are evaluate...

I wrote a large program full of plot() and plot3() order,but I want to have my graphs in different windows. How can order each p...

I want to put a small matrix (p*q) called B into a bigger matrix (m*n) called A. How can I do it. Matrix B should be put on the ...

3 Answers

I have a 6*3 matrix and I want to change to 6*2 matrix, how can I do it? example: N1=[1 2 3;4 5 6] then N1=[1 2;4 ...

When I want to make a bigger matrix from smaller one I use this method that I explain below: C=[2 3 10] A=[4 5 6;7 8 9;10 ...

I'm completely confused.I have a large program and Matlab announce an error that I don't know what that is. for F=1:PE*AE*RE ...

I'm assembling a bigger matrix with elements of other smaller matrixes. in my method I build a connecting vector for example C=[...

I want to build a matrix with the element of the other matrix in a special condition. my first matrix is something normal for ex...

Load more

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries