Community Profile

# Ayob

Active since 2013

#### Content Feed

View by

Question

make a matrix with elements that are under affected by the element number
Hi everyone I want to make a matrix that each one of its element value is related to the element number. My matrix is given be...

2 years ago | 0 answers | 0

### 0

Question

How to use trap(x,y) integral over a finite distance?
Hi everyone, I want to integrate over a finite distance for a set of numerical data. For better explanation, I have vectors of ...

3 years ago | 1 answer | 0

### 1

Question

How to plot a simple curve fitting in Matlab?
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: ...

6 years ago | 1 answer | 0

### 1

Question

Can Matlab help in design experiments?
I have four different type of inputs and three type of outputs, I want to design my experiments with these values in Matlab and ...

7 years ago | 0 answers | 0

### 0

Question

Why doesn't a simple progream work?
I wrote a simple program, but it doesn't work. I'm completely confused of how such a simple program doesn't work. x=0:0.1:4...

7 years ago | 1 answer | 0

### 1

Question

Is it possible to change 'file.m' to 'file.exe' ?
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...

8 years ago | 1 answer | 0

### 1

Question

How to find minimum and maximum values?
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) ...

8 years ago | 2 answers | 0

### 2

Question

How to change Nan value with zero and return them again?
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...

8 years ago | 1 answer | 0

### 1

Question

How can I use colors in my surf, truely?
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...

8 years ago | 1 answer | 0

### 1

Question

How can I draw surf (semi-surf) for non square X-Y base plane?
<</matlabcentral/answers/uploaded_files/7238/nodes.png>> .. I have assembled some nodes in X-Y plane as shown below.So I h...

8 years ago | 1 answer | 0

### 1

Question

How can I change pairs?
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.

8 years ago | 2 answers | 0

### 2

Question

Why doesn't this simple search program work?
I wrote a program to give me some nodes as shown in the figure <</matlabcentral/answers/uploaded_files/7216/nodes.png>> F...

8 years ago | 1 answer | 0

### 1

Question

Why I can not do this surf?
I have made three matrices X,Y and Z. All of them are *144*1* matrices. I use surf(X,Y,Z), but it doesn't work! *[EDIT]* Ay...

8 years ago | 2 answers | 0

### 2

Question

How can I clear columns and rows of a matrix?
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...

8 years ago | 1 answer | 0

### 1

Question

How can I built a new matrix in a new method?
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...

8 years ago | 1 answer | 0

### 1

Question

How can I write a program to investigate whether a number belongs to matrix?
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...

8 years ago | 1 answer | 0

### 1

Question

How to clear column and row
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?

8 years ago | 2 answers | 0

### 2

Question

How can I solve this problem?
I have assembled Mass and Stiffness matrices with a kind of free element method, but the determinants of my Mass and Stiffness m...

8 years ago | 0 answers | 0

### 0

Question

How can I have a better plot?
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...

8 years ago | 1 answer | 0

### 1

Question

How can I use colorful * in my plot?
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...

8 years ago | 1 answer | 0

### 1

Question

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

8 years ago | 2 answers | 0

### 2

Question

How to change color each loop?
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...

8 years ago | 2 answers | 0

### 2

How can I plot interpolation line besides nodes?
>> t=spline(X,Y,h); >> plot(X,Y,'*',h,t)

8 years ago | 0

| accepted

Question

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

8 years ago | 1 answer | 0

### 1

Question

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

8 years ago | 2 answers | 0

### 2

Question

different windows for different plots
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...

8 years ago | 2 answers | 0

### 2

Question

How can I divert my program on a new program and return it?
I wrote a program which I named it "file1.m".After calculating some arrays and matrices, my program should go on the other progr...

8 years ago | 1 answer | 0

### 1

Question

small matrix in big matrix
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 ...

8 years ago | 1 answer | 0

### 1

Question

Put a small matrix in a bigger one.
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 ...

8 years ago | 3 answers | 0