Answered

how to reshape a matrix to a vector?

Thanks a lot. I used reshape but totally had forgot about transpose ('). Thank you

how to reshape a matrix to a vector?

Thanks a lot. I used reshape but totally had forgot about transpose ('). Thank you

1 year ago | 0

Question

how to reshape a matrix to a vector?

I have a matrix for example [1 2 3; 4 5 6; 7 8 9]. I want to return it to [1 2 3 4 5 6 7 8 9] how can I do that please? Thanks...

1 year ago | 2 answers | 0

Question

How I can plot a 2D in Matlab?

Hi, I have x(i,j),y(i,j) and Z(x,y). How can I plot my z points based on x and y? Let me explain a little: I am doing a 2...

1 year ago | 1 answer | 0

Question

How to arrange a Matrix in different shape?

Hello, I have a very simple question but cannot find the answer now. Imagine I have a matrix A=[a b c], is there any function t...

1 year ago | 2 answers | 0

Question

MEX vs Matlab in ANN?

I am running ANN in Matlab software and the calculation is based on Matlab algorithm. I have million data points and each run on...

2 years ago | 0 answers | 0

Question

How Can I record the regression at ANN?

Hello. I am working on ANN with a loop and need to record the regression of training testing and all each time. I know that I ca...

3 years ago | 0 answers | 0

Question

How to record Regression for ANN?

Hello. I am trying to apply ANN on the 77000*5 data. I need to know at what condition the best fit happens. For this reason I ha...

3 years ago | 0 answers | 0

Question

The for loop gives an odd number instead of 0?

Hello, I have a easy question but it is making me crazy.I have a for loop as follow: zr4=1.1;zr2=-0.1; KK=0.1; for LL...

4 years ago | 1 answer | 0

Question

How to plot 2 different graphs at GUI?

Hello all, i am writing a code in GUI that by pushing a bottom, calculate some mathematic and plot a graph. Then, i need by thes...

4 years ago | 1 answer | 0

Question

how use two popup menu which are related together?

Hello. I am new at GUI and am confused at using two related pop menus. Suppose I have a popup menu(1) that shows 1,2,3,4. I woul...

4 years ago | 2 answers | 0

Question

How can I re write a code in GUI?

Hello. I have a code and trying to convert it to GUI. For this purpose, I input some data and plot a graph. At plot section, I n...

4 years ago | 0 answers | 0

Question

How to retrieve variables of pop up/edit text in other file?

Hello. I am writing a GUI in some how at one file the user select some variable with pop up button or input the data and in othe...

4 years ago | 1 answer | 0

Question

How do I use the variable at plot function?

Hello. I am new at GUI and getting confused. I have some push buttons and put the data by inputdlg. I need to use all these data...

4 years ago | 1 answer | 0

Question

Push Button at GUI

Hello, I am so new at GUI stuff. I am wondering how I can have a push button that by clicking, a box opens and the user will be ...

4 years ago | 1 answer | 0

Question

converting a horizontal matrix to vertical

Hello. I am trying to convert a 100*2 matrix to 2*100 matrix. I appreciate if you give me any idea. The reason is I need to fin...

4 years ago | 3 answers | 0

Question

making a result table

Hello, The code that I am writing is using ginput. for example I select 2 points and t1, C1, and C2 are calculated. For showi...

4 years ago | 1 answer | 0

Question

how to connect two graph at a plot?

Hello, I have a plot which divided to two region. each region has a graph which are not connected. I am trying to connect these ...

4 years ago | 0 answers | 0

Question

how I use ginput and get a y and z?

Hello. I need your help please. I am solving two equations based on time. imagine x and y are solved based on time. however I pl...

4 years ago | 1 answer | 0

Question

how can I round a number?

I am trying to consider 0.0001 as zero in my code. How can I define that MaTLAB rounds my number based on decimal that I need? ...

4 years ago | 1 answer | 0

Question

how to make a Series?

Hello, I am trying to create a series like this: X(n)=-(sqrt(n)-Sqrt(n-1))x(1)-(sqrt(n-1)-sqrt(n-2))x(2)-(sqrt(n-2)-sqrt(n-...

4 years ago | 1 answer | 0

Question

results in Table Form

Hello. I am working with a 2*1000 matrix and a for loop. at the end I get my results in 1*1000 matrix forms. let say for examp...

5 years ago | 1 answer | 0

Question

finding a position of a point on graph

Hello. I have some data and need to draw. After drawing, I need to select a point on the graph and I am looking to how MATLAB...

5 years ago | 1 answer | 0

Question

maximums of data series.

Hello, I have a series data. Let say x and y. it is like a matrix 1000*2 in Excel file. So I call these data and plot them. I...

5 years ago | 1 answer | 0

Question

find maximum and minimum

Hello, I have a matrix 1000*2 in Excel file. So I call these data and plot them. I am looking for all Maximum and minimum, howe...

5 years ago | 1 answer | 0

Question

show final result of MATLAB at a table

Hello. I am trying to put all of my results in a table. How can I create a result table in command windows and GUI ? Thank y...

5 years ago | 1 answer | 0

Question

Position of a data at Matrix

Hello. I have a matrix 1000*2. Then I found the maximum data in first column. Lets say the maximum is for 500*1. Then I need to...

5 years ago | 1 answer | 0

Question

Importing different sheets of an Excel Data

Hello. I am trying to import different sheets of an Excel file in my MATLAB code. I need for example use sheet 1, do some calcu...

5 years ago | 1 answer | 0