Community Profile

photo

Niraj Bal Tamang


Last seen: 4 months ago Active since 2020

Statistics

  • First Review
  • Thankful Level 3

View badges

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

Answered
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...

2 years 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...

2 years ago | 2 answers | 0

2

answers

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...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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 ...

2 years ago | 1 answer | 0

1

answer

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...

2 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 0 answers | 0

0

answers

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 ...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

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...

3 years ago | 1 answer | 0

1

answer

Question


How to extract the common values only between two variables?
I have a point file and a polyline file. I want to extract only the lines from the polyline file which contains the points from ...

3 years ago | 2 answers | 0

2

answers