Question

is there any alternative way ?

I want to remove those part of my data which are higher than 0.75 and those that lower than 0.30 I am using the following way, ...

8 years ago | 1 answer | 0

Question

how to find values in two different vectors ?

I have two vectors e.g. a=[2 7 9 10 17 22 24 28 29 32] b=[74 79 82 85 88 91 92 95 96 97 98 99 102 1...

8 years ago | 1 answer | 0

Question

how to plot with a little bite bias ?

I have a matrix which I want to plot each row separately. each time I want to plot a raw of that matrix. For example , first one...

8 years ago | 0 answers | 0

Question

how to split a vector based on value rank?

y = rand(1000,1); % generate a random vector [a b]=size(y) % a is length [yrank,index] = sort(y) % sort small to large ...

8 years ago | 1 answer | 0

Question

change values in a matrix

I have a big matrix and I want to correct it The first column I want to remove those -1 and -2 from my data for example my d...

8 years ago | 4 answers | 0

Question

Legend line are the same always

I'm using hold on to draw different figures and after I have all the figures I use legend('lable1','lable2','lable3') however...

9 years ago | 2 answers | 0

Question

automatic Matlab to run each 10 min

Dear, I would like to ask matlab to perform the same calculation each 10 minute for example. do you know how to do so? for e...

9 years ago | 2 answers | 1

Question

merge two matrices together

I have two matrices as follows ----------------------------------------- 40 40 40 40 41 41 41 41 42 42 42 42 4...

9 years ago | 4 answers | 0

Question

build a matrix from cell

Dear I have a cell array which I need to select only first column of each cell separately and put it into a matrix. But each...

9 years ago | 2 answers | 0

Question

how to load a txt data

I cannot load following txt data into matlab, I have tried many functions, BEGIN IONS TITLE=445.1185_908.046 PEPMAS...

9 years ago | 3 answers | 0

Question

impport ia txt file into matlab

*I have a file in text and I want to sort its information into a xls file the text file is as follows which each part starts w...

9 years ago | 1 answer | 0

Question

sorting

I would like to sort a matrix included of alphabet and values for example a matrix with 10 columns or more the first column ...

10 years ago | 2 answers | 0

Question

about random again

I have one matrix as follows X = rand(4,10) I want to generate a matrix from X and in each row a variable should be randoml...

10 years ago | 1 answer | 0

Question

how to prevent of repeated permutation

I have written this X =rand (4,2) t= size (X); permlimit = 100; M2 = zeros([permlimit, t(2)]); for ii = 1 : pe...

10 years ago | 1 answer | 0

Question

random

I have a Matrix as follows x = [1 2 3 4 5 6 7 8 9 10 11 12 13 ...

10 years ago | 1 answer | 0

Question

100 permutation

I have the following matrix x = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ...

11 years ago | 1 answer | 0

Question

combination

Dear I have an matrix x = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16...

11 years ago | 4 answers | 0

Question

how to reverse "sort"

For example we have a row like m=[1 6 2 8 9] [Y,I] = sort(m) then it gives you Y = 1 2 6 8 9 ...

11 years ago | 2 answers | 0

Question

how to use of GUI?

for example I have a matrix X. lets say X=rand(10) then I wrote something like this as GUI function [] = Mohammad() M...

11 years ago | 2 answers | 0

Answered

how to call the callback in GUI ?

How can I add one bottom for this? for example this I have a windows , then i want to either open from the "file"---> "open" wh...

how to call the callback in GUI ?

How can I add one bottom for this? for example this I have a windows , then i want to either open from the "file"---> "open" wh...

11 years ago | 0

Question

how to call the callback in GUI ?

I put this label into the figure that I created but how can I active it ? I want to load data , do you have any idea? m = uimen...

11 years ago | 2 answers | 0

Answered

how to create a Fig for GUI?

I just have created this Figure M = figure('units','pixels','position',[500 500 200 50], 'menubar','none','numbertitle','off'...

how to create a Fig for GUI?

I just have created this Figure M = figure('units','pixels','position',[500 500 200 50], 'menubar','none','numbertitle','off'...

11 years ago | 0

Question

how to create a Fig for GUI?

In fact I want to create a Fig for GUI and then start to make a GUI should I do that ? or there is any other way?

11 years ago | 3 answers | 0

Question

rempet

I have a matrix and a vector, I want to repmat them the same my mean is that if I change the first row of the matrix I want thi...

11 years ago | 3 answers | 0

Question

add and remove columns from a marix

I am writing a code , in fact I have a matrix and I select the fist column then I add next column and in each epoch one column w...

11 years ago | 1 answer | 0

Answered

how to start writing a program ?

Thanks to all of you, you are always ready and always try to help, all of you saw from different aspect , Thanks

how to start writing a program ?

Thanks to all of you, you are always ready and always try to help, all of you saw from different aspect , Thanks

11 years ago | 0

Question

how to start writing a program ?

I think it would be very nice if you could put some comment for a person who want to learn and or start to write a program. ...

11 years ago | 6 answers | 0

Question

find a correlation

I have a Matrix X=[0.231914928 3.126057882 -1.752476846 -0.779092587 2.143243132 -1.944363312 -1.744892449 1.206497824 -2.267...

11 years ago | 3 answers | 0

Question

Find similar elements in a matrix

My question is that , I have a matrix, I want to know which element from which columns are similar, which number is the most rep...

11 years ago | 3 answers | 0

Question

how can a loop be done?

I have a Matrix X for example X=rand(100) then I would like to take one column each time and then add another one and each time...

11 years ago | 1 answer | 0