photo

AS


Last seen: 5 months ago Active since 2019

Followers: 0   Following: 0

Message

Programming Languages:
MATLAB
Spoken Languages:
English

Statistics

  • Thankful Level 4
  • First Review

View badges

Feeds

View by

Question


How to keep the values for particular dimension of a matrix and rest of the dimension will be zeros?
I have a matrix A with dimension 496 by 48. I want to keep the values with dimension A(350:400, 20:35) as it is and rest of the ...

1 year ago | 2 answers | 0

2

answers

Question


How to get 2D plot using three arrays?
I have three datasets; amplitude values (AA_1.mat) and corresponding time (t.mat) and depth (depth_1.mat). How to plot them toge...

2 years ago | 1 answer | 0

1

answer

Question


How to plot amplitude values of a matrix (dimension 651 by 10) with colorcode
I have amplitude values of a matrix with dimension 651*10. Also, I have the cluster number for this matrix with 1 to 5. I want t...

2 years ago | 1 answer | 0

1

answer

Question


How to do sum for 3D matrix using for loop
I have 3D matrix with size (2501*90*5). Now I awnt to sum using for loop by taking 2D matrix 2501*90 for 5 times. Like, first i...

2 years ago | 0 answers | 0

0

answers

Question


How to match pair of two elements of a matrix with the pair of two elements of another matrix?
I have two matrices with two columns: A= [1 3; 5 9; 7 6; 10 8] B = [10 8; 7 6; 70 16; 1 3; 12 34; 5 9; 20 45; 10 8] I want to...

2 years ago | 1 answer | 0

1

answer

Question


How to do summation columnwise and create the structure array of summed values.
I have matrix with dimension 1125 * 1128. I want to do summation of every 141 columns and so on. Then store the output in data ...

2 years ago | 1 answer | 0

1

answer

Question


How to run the code by moving one column to next and repeat the algorithm
I have a code of neuaral network, where my number of input is 3 (matrix dimension is 20 by 3) and target is 20 by 900. I want to...

2 years ago | 0 answers | 0

0

answers

Question


How to resample the .segy data format into specific sampling interval
I have a .segy data with sampling interval dt=2ms and I want to resample it with dt=4ms. I have tired with SeisLab and segymat-1...

3 years ago | 0 answers | 0

0

answers

Answered
How to plot number of a matrix with colorcode?
Thanks everyone for your responses. But, I want to plot it using imagesc coomand. I have plotted it and unable to mention specif...

3 years ago | 0

Question


How to plot number of a matrix with colorcode?
A matrix with dimension 2193 * 2, where 1st column is depth and 2nd column is number ( 1 to 6). I want to plot these number with...

3 years ago | 4 answers | 0

4

answers

Question


How to subplot using for loop?
I want to subplot in for loop. I have 3d matrix (M) with dimension (3000*8*10). I want to subplot for 8 variables for 10 r...

3 years ago | 1 answer | 0

1

answer

Question


How to match column of a one matrix with another column of second matrix?
I have three matrices like A = 0 0 3 0 2 3 1 2 0 1 0 0 B = ...

3 years ago | 1 answer | 0

1

answer

Question


how to extract the data for specific interval?
I have a datasets of time and value with time interval 0.1 sec. But, I want to extract the value and corresponding time for 0.5 ...

3 years ago | 1 answer | 0

1

answer

Question


How to fit curve using for loop?
I have a 15 number of signals with data point 64 in each. I want to use loop to fit all the signals with fittype 'gauss2' and pl...

3 years ago | 1 answer | 0

1

answer

Question


How to convert .java file to .mat file?
I have a.java file and want to run in matlab by convert it into .mat file. How to do this conversion?

3 years ago | 1 answer | 0

1

answer

Question


How to generate colormap for specific matrix?
I have matrix with values and corresponding index number or class number. I want to generate a colormap based on the values of t...

3 years ago | 1 answer | 0

1

answer

Question


How to calculate the area under curve?
I have attached a curve in which x axis is time and y axis is amplitude. How to calculate the area under this curve.Please sugge...

3 years ago | 1 answer | 0

1

answer

Question


How to genarate gaussian curve from another gaussian curve?
I have the data points of the red curves and I want to generate the blue curve from red curve. The area difference between two c...

3 years ago | 0 answers | 0

0

answers

Question


How to get back the values of a curve from its cumulative integral value?
I have a amplitude distribution with time ( i.e. real curve, blak line). Then I did cumulative trapezoidal inegration of the cur...

3 years ago | 1 answer | 0

1

answer

Question


What is exactly the kmeans ++ algorithm? How do I write in code?
I have used regular som, where initialization is done by random initialization. I want to apply weighted kmeans for initializati...

4 years ago | 1 answer | 0

1

answer

Question


how to fit a signal using polynomial fit with hogher order?
I have a amplitude value with time period of a signal. I am trying to fit this signal by polynomial fitting. I have attached the...

4 years ago | 1 answer | 0

1

answer

Question


How to arrange the values of the matrix according to index number?
I have index number of matrix A =[1 3 5 6], B= [ 2 4]. The values corresponding to index number matrix A is A1=[3 4 -7 5; 2 5 1...

4 years ago | 2 answers | 0

2

answers

Question


How to find out the minimum error and its index number by comparing two coulmns of matrices?
I have 22 number of traces (sig1 & sig2 ) in two matrices. I have calculated two error matrices E1 (1 by 22) and E2 (1 by 22) fo...

4 years ago | 1 answer | 0

1

answer

Question


Initialization of centroid for kmeans++ algorithm
I have applied simple kmeans algorithm for clustering of the datasets, which has dimension 1800 by 3. Now instead of kmeans, I w...

4 years ago | 1 answer | 0

1

answer

Question


array dimensions must match in binary op
I am trying to perform this code 3D data but I am getting this error " array dimensions must match in binary op". To solve this ...

4 years ago | 0 answers | 0

0

answers

Question


how to solve the array index problem in kmeans clustering for three dimensional data?
I have used a with dimension 100 by 3 of 10 signals for kmeans clustering. So, I have used it as a three dimensional dataset of ...

4 years ago | 0 answers | 0

0

answers

Question


how to find out the index with its value from cell arrays?
I have two cell arrays. In one cell, there is a value of the matrices with dimension 100 by 10 and other cell there is row and c...

4 years ago | 0 answers | 0

0

answers

Question


how to store the matrix value in cell array?
I have matrix C=100 by 10 and I want to store the values of matrix in cell array. The code is not working. Please help me on th...

4 years ago | 1 answer | 0

1

answer

Question


How to find out the index number of particular value from three dimensional matrices
A(:,:,1)= [1 0 0 0 1 0 1 0 1] A(:,:,2)= [1 1 0 1...

4 years ago | 1 answer | 0

1

answer

Question


How to compute weighted probability for nitialization of centers using kmeans++? How kmeans++ is differ from kmeans?
load dara1.dat; nc=4; niters=100; [r,col]=size(data1); p=randperm(r); p=p(1:nc); c=data1(p,:); id=eye(nc); for n=1:niter...

4 years ago | 0 answers | 0

0

answers

Load more