Community Profile

photo

EM geo


Last seen: 2 months ago Active since 2018

Statistics

  • Thankful Level 2

View badges

Content Feed

View by

Question


Is there a best way to identify anomalous peaks in signals and remove them?
Hi to everybody! I need some advices regarding how to find big peaks in a signal (both positive or negative). My data are hydro...

11 months ago | 1 answer | 0

1

answer

Question


Unable to concatenate the table variables 'Var1' and 'Var2', because their types are double and cell.
Hello everybody and happy new year!! I'm trying to import a .csv file in Matlab. My code sobstitutes NaN values with 9999 and t...

11 months ago | 2 answers | 0

2

answers

Question


How to improve groups in boxplot matlab?
Hi everybody! I'm trying to create a boxplot with multiple variables. This is my code: h = boxplot(L_levtrue,{ID_stop_levtr...

12 months ago | 1 answer | 0

1

answer

Question


How to quantify the steps in findchangepts function output?
Hi! I found the change points on my data with this code: clear; close; clc; load('data_c_AN_R') figure(1) M5i = movmean(Pc,1...

1 year ago | 0 answers | 0

0

answers

Question


How to properly import excel data, insert values through "EDIT FIELD" and run a function using App Designer in Matlab?
Hi everybody! I'm trying to create a GUI that open an .xlsx file, importing the table as a matrix called "data". Then I want to...

1 year ago | 1 answer | 0

1

answer

Question


How to run a loop for variables satifying a specific condition and multiply them by values stored in a matrix?
i need to create a NEW vector in which, starting from the condition that SP > 0 i can create a new vector. In detail want to ski...

1 year ago | 1 answer | 0

1

answer

Question


Sum only consecutive positive numbers and place the sum in a new vector in specific positions
Hi! I have this variable P1 (attached) and i want to make the sum of ONLY consecutive positive values and place the sum in a ne...

1 year ago | 1 answer | 0

1

answer

Question


how can I change variable value in a for loop?
Hi! i'm writing a code in which there is this part (indicated with "from here" to here" in the code below): There i'm calcul...

1 year ago | 1 answer | 0

1

answer

Question


how to go backwards in a for loop until a condition is satisfied?
Hi everybody! I'm working on a very long for loop in which i want also to go backwards in order to assess if a condition is sat...

1 year ago | 1 answer | 0

1

answer

Question


can somebody help me to understand this cross correlation output?
Hi! I'm trying to find cross-correlation between rainfalls and rock fall events and in case, i want to know how many days are ...

2 years ago | 1 answer | 0

1

answer

Question


how to index a column matrix based on other column matrix?
Hi! I have two column matrix of different lenght (B is little than A). i want to indexing B using values from A and create a new...

2 years ago | 0 answers | 0

0

answers

Question


Mapping toolbox. converting asc to tiff file i get NaN values
Hi to all, i'm trying to convert a .asc file (column matrix) to a .tif file (reshaping it) using Mapping Toolbox. I already use...

2 years ago | 0 answers | 0

0

answers

Question


How perform anova tests after using regress in MATLAB?
Hi! I'm trying to perform ANOVA analysis for a multiple regression model built using regress This is my model: clc; clear...

2 years ago | 2 answers | 0

2

answers

Question


how can i display only two decimals in uitable MATLAB?
Hi, i have a table in a subplot having also three histograms. I want to display in the table only two decimals and i don't know ...

2 years ago | 1 answer | 0

1

answer

Question


How to use parfor?
Hi, i'm trying to use par-for in this code, but it matlab gives me this error: "Error: The variable D in a parfor cannot be clas...

2 years ago | 1 answer | 0

1

answer

Question


Error using cat. Dimensions of arrays being concatenated are not consistent.
Hi everybody, i'm trying to import an ascii file in matlab and change comma with point. I'm using this code found in the commun...

2 years ago | 1 answer | 0

1

answer

Question


What is the normalized weight matrix of the Moran's I (function) and how can i create it?
Hi, i'm trying to calculate local Moran's I index of spatial correlation for rasters. I don't know so much about statistics (i'...

2 years ago | 0 answers | 0

0

answers

Question


how can i access to data in a structure?
I have this structure called MyMAC and it has one field (result). I need to access to the data "mu" and "sigma". How can i do th...

2 years ago | 1 answer | 0

1

answer

Question


how can join two tables based on specific values with repetitions?
I want to join the two table attached based on all the values in the column called 'idstop' of the table T_equo. How can i do? ...

2 years ago | 0 answers | 0

0

answers

Question


how can i build a for loop to create histograms for a multiple cell array?
i have a multiple array cells (result): there are 20 cells and each cell contains other 20 cells. I would like to create an...

2 years ago | 1 answer | 0

1

answer

Question


How to run completely a loop inside one other?
Hi! i have the data attached. ID_stop1 is an identifier of data and it is repeated 80 times for each value. Nn1 is a number from...

2 years ago | 1 answer | 0

1

answer

Question


Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
I have this code (data attached) and i receive this error: "Unable to perform assignment because the indices on the left side ar...

2 years ago | 1 answer | 0

1

answer

Question


how to create a matrix from cells with different size and concatenate them?
I have a cell array called Rcalc (1 x 91) and each cell has different size (see photos). I need a matrix of only one column and ...

3 years ago | 1 answer | 0

1

answer

Question


How can i build a for loop for a subset of data having repetitions?
I would like to do a regression analysis with some data in matrix A1 (variables indexed). The variable IDstop1 is repeated many ...

3 years ago | 1 answer | 0

1

answer

Question


How can i reduce precision only in the maximum value of a column matrix?
I would like to reduce the precision only to the maximum value of my matrix D3 (attached). All the values are with 4 decimals bu...

3 years ago | 1 answer | 0

1

answer

Question


How can i sample from a distribution already fitted with allfitdist?
I want to find the best fitting of a variable distribution (the second column of the matrix D) using the function "allfitdist"....

3 years ago | 1 answer | 0

1

answer

Question


how can i randomly sample from a matrix and determine the remaining part?
i have a matrix (D) having 343 rows and 7 columns and i want to sample randomly the 30% of the data and determine the remaining ...

3 years ago | 1 answer | 0

1

answer

Question


how can i create figures in a for loop
I have to create a figure every 80 measurements of a row vector with length 31999 (Bn in the code). I tried to write this code b...

3 years ago | 1 answer | 0

1

answer

Question


how can i create a .txt file from vectors with different length?
I need to create a txt file with vector having different lenght. I wrote this code but the position of each cell is changed. ...

3 years ago | 1 answer | 0

1

answer

Load more