Question

how to search and keep all the possible combinations with a certain accuracy

I am trying to do some simple combination, I have a Matrix of X consists of 2000 variables and a Y I want to each time pick 4 ...

4 years ago | 0 answers | 0

Question

how to export numerical values to ASCII format

Actually I am having a hard time to do it. I use R nowadays i forgot how to export my data in matlab. I searched and I could n...

4 years ago | 1 answer | 0

Question

how to plot each profile with a distance from the other in a 2D plot ?

I want to plot something like this http://www.nature.com/nprot/journal/v9/n6/fig_tab/nprot.2014.090_F7.html or like this one ...

4 years ago | 0 answers | 0

Question

how can I get the mean of each two columns of a matrix ?

I have a big matrix and I want to get the average of each 2 columns, Is there any function to do that ?

4 years ago | 2 answers | 0

Question

how to import many csv files and extract all specific columns ?

I have a set of csv files which I would like to import all. I have set my directory to the folder that csv files are there, ho...

4 years ago | 0 answers | 0

Question

how to define what a function is doing

I have a function that I am trying to convert to another language. Th problem is that I cannot run this because it gives me an e...

5 years ago | 3 answers | 0

Question

how to perform ANOVA on a matrix

Actually i want to plot the interaction and mean of a matrix by ANOVA. For example I have a matrix like below X = rand(100,...

5 years ago | 2 answers | 0

Question

how to re order a matrix based on a vector ?

I have a matrix like below A = 16 2 3 13 5 11 ...

5 years ago | 1 answer | 0

Question

how to plot a histogram of repeated values in a matrix?

I have a matrix like below. X = [120 2 3 250 60; 4 5 6 120 250; 7 8 3 250 10] I want to plot a histogram shows the numb...

5 years ago | 1 answer | 0

Question

how to import a file from xls

Hello, I am having difficulties to import a file from xls. I provide you with a part of mw data as follows: 262 268,50359...

5 years ago | 1 answer | 0

Question

how to change the digit after decimal

I have few vectors which they have values like below 1.2 222.55 etc matlab shows that with so many digit , I dont wan...

5 years ago | 2 answers | 0

Question

how to label my data into several classes in the format of dataset?

I have a matrix of df =randi(10,100,1) and i have a class numbers as follows: df2 = randi ([1 2], 100, 1); now ...

5 years ago | 0 answers | 0

Question

how to add row and column label to a matrix and make it as a dataset?

I have a matrix look like below df =randi(10,100,1) I want to give row lable to do two ways, once I want to assing 50 fi...

5 years ago | 1 answer | 0

Question

plot with different symbols

I have two vectors with 1000 length each. for example r1 = rand(1000,1); r2 = rand(1000,1); then I want to plot a scatter w...

6 years ago | 1 answer | 0

Question

colourful image labeling by using plot function to generate a scatter plot

I have two vectors with 1000 length each. for example r1 = rand(1000,1); r2 = rand(1000,1); then I want to plot a ...

6 years ago | 2 answers | 0

Question

average of each two vectors of a matrix

I have a matrix of n*n for example 10*5 x=rand(10,5) Then I want to get the average of each two row. For example the f...

6 years ago | 2 answers | 0

Submitted

OCPLS.zip

class modeling using one-class partial least squares

6 years ago | 3 downloads |

Question

how to find where your results is in multi comparison test problem

Hi everybody! I want to check how much a column is significantly different from another column data. I simply generate a ...

6 years ago | 0 answers | 0

Question

how to make a char using many letters instead 3

Hi, Currently I am facing a problem in which I would like to generate a char array with many letters in each, For example i...

6 years ago | 2 answers | 0

Question

Probablity distribution calculation for a vector

I want to use the following function Y = normpdf(X,mu,sigma) X is a vector of 100*1 for each X I have a mu and a sigma , d...

6 years ago | 1 answer | 0

Answered

split data in a special manner

The first part can easily be done as follows: subset = A(1:3:end, :); To split the data, I can also use the following link ...

split data in a special manner

The first part can easily be done as follows: subset = A(1:3:end, :); To split the data, I can also use the following link ...

7 years ago | 0

Question

split data in a special manner

I have a matrix named A (450*1102) 1- I want to take from each three objects (e.g. 3*1102), the first object (1*1102) to anothe...

7 years ago | 2 answers | 0

Question

Adding outlier to a matrix

Hi , I have a matrix of intensities (n*p). I want to add an outlier to it. Do you have any idea about how to simulate an out...

7 years ago | 2 answers | 0

Question

how to plot data with small values

I want to plot some result which shows how different is the model A from model B etc. My error is something zero. do you have ...

7 years ago | 1 answer | 0

Question

how to plot with line ?

I have some selected point which I would like to show with line for example I import my data as follows: load spectra w...

7 years ago | 2 answers | 0

Question

find similar element in a matrix

I have several questions. First, I have several vectors with different dimensions. I want to put them all in one matrix. I woul...

7 years ago | 2 answers | 0

Question

display several rectangles in color on your image

Hi, I am using the following lines to put a rectangle on my image. patch([850 850 900 900],[2 3.6 3.6 2],'r','facecolor...

7 years ago | 2 answers | 0

Question

controlling ylable tick of a figure

Hi, M y label tick is like 2 2.2 2.4 2.8 3 3.2 3.4 3.6 I want not to show the labels of 2 ,2.2 and 2.4 but in my fi...

7 years ago | 1 answer | 0

Question

unfold 3D to 2D

I have a matrix of 900*360*66 and I want to unfold it to a matrix of 324000*66 does anyone know how to do it?

7 years ago | 1 answer | 0

Question

read .png from different subfolder

I have a folder with a lot of subfolders. I want to read all .png in one subfolder and save and then go to the second subfolde...

7 years ago | 2 answers | 0