Question

Change Width for YAxis (both) but not the grid

Hello, I want to change both YAxis Width but ax1.YAxis.Linewidth = 1.5 command doesnt work. I would like the width of both Yaxi...

19일 ago | 1 answer | 0

Question

Lasso regression coefficient inperpretation

Hi, I got my data (predictors) and my response variable (Y_MOTOR) and I want to interpret the results when I build a Lasso mode...

약 1달 ago | 0 answers | 0

Question

Lasso regression coefficients interpretation

Hello, I want to built a lasso model for my data (predictors) to predict Y_MOTOR. load('predictors.mat') load('Y_MOTOR.ma...

약 1달 ago | 0 answers | 0

Question

Area under the curve in blocs

Hello, I would like to know the area under the curve in blocs from 1 to 2, 2 to 3, etc and also the total. x = [1 2 3 4 5 6 7 ...

약 1달 ago | 1 answer | 0

Answered

Creating a cell and allocation specific text

Instead of { } i used now ( ) and it works. result(1,2:end) = result_aux(1,1:end);

Creating a cell and allocation specific text

Instead of { } i used now ( ) and it works. result(1,2:end) = result_aux(1,1:end);

약 1달 ago | 0

Question

Creating a cell and allocation specific text

Hello, My objective is to create an array cell like: result = {'Intercept','X1','X2','X3',....'X41'}, in the 1st colum I got t...

약 1달 ago | 3 answers | 0

Question

Save a file inside a subfolder of a folder

Hello, In my directory I want to be able to creade a Folder, call a function do perform some calculations, and the results of t...

3달 ago | 1 answer | 0

Answered

Change the name of structure inside a cell

@Stephen Cobeldick the objective was just when i open "stuff" to see that the column 1 is label with a specific name and column ...

Change the name of structure inside a cell

@Stephen Cobeldick the objective was just when i open "stuff" to see that the column 1 is label with a specific name and column ...

5달 ago | 0

Question

Change the name of structure inside a cell

Hello, I got the cell names stuff with 2 field values. When I open "stuff" i see a message "1x1 struct", can i change this disp...

5달 ago | 2 answers | 0

Question

Round number to just 2 decimals cases

Hi, I want to round A A = [47.1847 18.78417 8.7849 3.3514]'; B = round(A,2) C = floor(A*100)/100 so i can get result = [ 4...

5달 ago | 1 answer | 0

Question

Histogram with values above the bars

Hello, I got data with values form 90 to 100, and i can have decimal values like 90.4 95.3. My goal is to create an histogram w...

6달 ago | 2 answers | 0

Answered

Plot blocks of points with a specific color

This is what I did to solve my question: from a generic X = [1:25]'; Y = [1:25]'; I want to plot each number of "rows" to a ...

Plot blocks of points with a specific color

This is what I did to solve my question: from a generic X = [1:25]'; Y = [1:25]'; I want to plot each number of "rows" to a ...

6달 ago | 0

| accepted

Question

Plot blocks of points with a specific color

Hi, I got these points and I want to colour every 4 points with a specific color: x = [ 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 ...

6달 ago | 2 answers | 0

Question

Want to create colors depending on the number of columns i got in my X

Hello, i want to plot each column, and i want to associate each column with a color but automaticly. X = [1:26]'; Y = [1:26]';...

6달 ago | 1 answer | 0

Question

Resize a matrix into another with different size

Hello, i got a matrix X and I want to transform X into a matrix rows x collumns, in this case into a 4 by 7 matrix. I used resha...

6달 ago | 3 answers | 0

Question

Create an annotation into a plot

Hello, When i create an annotation into a plot to show me a specific value that I have previously calculated, in the plot it ...

6달 ago | 1 answer | 0

Question

Save a plot from a function in a structure and save the structure

Hi everyone. I created a function to perform pca calculations and to plot some specific plots, like loadings and scores. t...

7달 ago | 1 answer | 0

Question

Xlabel & Ylabel just in 1 line

Hi, My goal is to label Xaxis and Yaxis in just one line rather in two, that is what i get. my xlabel and ylabel are combi...

7달 ago | 1 answer | 0

Question

How to create an array with the same letter but different number

Hi, How can I create an array or cell, something like Variable = {'X1','X2','X3',...,'X43'}? when i give for example the len...

7달 ago | 2 answers | 0

Question

how can i perform the calculation of the span at smoothing?

Hello, I have some doubts on how to select the span in order to smooth all my NaN values and values. For example, I got: ...

8달 ago | 0 answers | 0

Question

Fillmissing & Smooth LOESS span

Hi, I got my Data, matrix X. For column 2 for example, I got 4 sequences of NaN values. Instead of fillmissing by movmean all...

8달 ago | 0 answers | 0

Question

Find the begining and ending on nan sequence and store

Hi, A = [7 9;NaN 9; NaN NaN; 4 NaN; 6 7;7 9;NaN 9; NaN NaN; 4 NaN; 6 7] In both columns, i got 2 sequences of NaN's of l...

8달 ago | 1 answer | 0

Question

XtickLabels on plots or scatters

Hello, I got a cell A = {'A','B','C'} and B = [3, 6, 9] my objective is to plot the values of X, with Xticklabel of A. I ...

8달 ago | 1 answer | 0

Question

Index of NaN Values

Hello, My objective is to know the index of NaN values per column. y = [1,2;NaN,4;5,NaN;7,8;9,NaN] idx = isnan(y) for ...

10달 ago | 1 answer | 0

Question

Drew a circle for a specific point in my plot

Hi, My objective is how to draw a circle for the min(PRESS). I wrote the following code for an ellipse, but I had to adjust t...

10달 ago | 1 answer | 0

Question

PCA pre-treatment: Centering or AutoScaling?

Hello, My question is not related with coding, just more asking for an opinion on what approach to make before using PCA: cen...

11달 ago | 0 answers | 0

Answered

Evaluation Criteria for Missing Data Imputation Techniques

I can't really make a subset, because all variables have missing data. But I found an article when they do the residues from X(w...

Evaluation Criteria for Missing Data Imputation Techniques

I can't really make a subset, because all variables have missing data. But I found an article when they do the residues from X(w...

11달 ago | 0

Question

Evaluation Criteria for Missing Data Imputation Techniques

Hello, I have 5 methods for missing data imputation, since my original data set, has missing values due to the fact that is i...

11달 ago | 2 answers | 0

Question

Colormap setting the colors i want

Hello, So I discovered Colormap, and I want to draw a Color map of a matrix A I got that has ranges from 0 to 1. But I don't w...

11달 ago | 3 answers | 0

Question

Results of PCA function

Hello, I got some trouble understanding why I get a different result than the PCA function that is incorporated on Matlab. I h...

11달 ago | 1 answer | 0