Community Profile # Niraj Bal Tamang

Last seen: 5 maanden ago Active since 2020

#### Statistics

• • #### Content Feed

View by

Question

How to get original values from cumulative sum values?
I have a list of cumulative sum values. I want to obtain another list with the values that generated the cumulative sum vaues. S...

8 maanden ago | 1 answer | 0

### 1

Question

Getting the ratio of consecutive links in network using loop.
I have two variables A: 1 2 3 4 5 6 7 8 9 B: 2 10 5 8 12 6 14 6 2 I want to get the ratio of Bn/Bn-1 such that for A=1 is ra...

8 maanden ago | 1 answer | 0

### 1

Question

How to assign the color intervals while using the jet color chart?
Can anyone please tell me how to increase the intervals betwwen the selected colors from a color chart (eg. jet or parula)? I us...

9 maanden ago | 1 answer | 0

### 1

showing empty plot in nexttile or subplot
Thanks a lot. I finally got the plot. I removed the = sign from if j>=length(t{i}) line to if j>length(t{i}) and it worked. for...

9 maanden ago | 0

Question

showing empty plot in nexttile or subplot
I have 4 classes: Class A: x=[0.1 0.2 0.3 0.6 0.24 0.67],y=[2 1 4 7 4 5],type=[a b a c d b] Class B: empty Class C: x=[0.24 0...

9 maanden ago | 2 answers | 0

### 2

Question

Assigning same color for same value at different plots
I have 3 tables. For table1, x=[0.1 0.4 0.6 0.8], y=[0.2 0.3 0.7 0.9], name=[A B C A] For table 2, x=[0.1 0.2 0.4 0.6 0.5 0.8...

9 maanden ago | 1 answer | 0

### 1

Question

Counting the number of elements in a network for ij matrix.
I have a network with order number assigned for each link. I want to count the number of the link such that i get the values for...

ongeveer een jaar ago | 0 answers | 0

### 0

Question

Assigning different colors in a single histogram
I have a matrix of slope data. I generated a histogram using histogram(Slope) command. I want to assign different colors to the ...

ongeveer een jaar ago | 0 answers | 0

### 0

Question

Extracting the maximum value from each array of different dimensions in a cell?
I have a cell (X) with arrays of different dimensions. I want to create a new array containing only the maximum values of each a...

meer dan een jaar ago | 1 answer | 0

### 1

Question

How to show the color legend of gscatter plot in a single bar or range?
I have a gscatter plot with slope and area as the axes and time as the colored variable. Is there a simple way in Matlab to sh...

meer dan een jaar ago | 0 answers | 0

### 0

Question

How to find points between two intersecting lines?
I have two straight lines defined by equations (say) x+y=3 and 2x-3y=4. I have to find out the points which lies between these t...

meer dan een jaar ago | 1 answer | 0

### 1

Question

Modifying multiple loops into parallel computing code?
I modified and compiled some Matlab code files for my project. It took longer time to run so i was planning to run it parallelly...

meer dan een jaar ago | 0 answers | 0

### 0

Question

How to animate the change in a variable with respect to date and time in matlab?
I have an excel file with date, time and depth columns. I want to animate the change in the depth from the start of the date to ...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How to replace the values in a variables based upon the common field values from another variable in matlab?
I have two variables 'P-idx' and 'Replacing_values'. P_idx is a bigger matrix consisiting of the FID_1 value/s from Replacing_va...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How to replace the values of a column of a variable with another column from another variable in matlab?
I have two variables 'network' and 'sedsource'. I used the following code to produce the 'input' variable which contains 1 valu...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

How to select the maximum value for each row in cell type variable in matlab?
I have a cell type variable(Final) with dimension 279*100. I want to create a new matrix of 279*1 dimension such that i can have...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How to join a double variable and a strucure variable to plot a heat map ?
I have two datasets. One is a structure type (network) and another is double (Count). I want to create a heat map over the netwo...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

How to apply condition for using one variable as input for another in same workspace in matlab?
I have two variable files which are a polyline file (network.mat) and a point file(sedsource.mat). The elements of the FID_Netwo...

ongeveer 2 jaar ago | 1 answer | 0