Community Profile

photo

KSSV


INCOIS

5.981 total contributions since 2011

https://sites.google.com/site/kolukulasivasrinivas/
Professional Interests: Mathematical Computing

Contact

KSSV's Badges

  • 36 Month Streak
  • Master
  • Revival Level 3
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
interpolation of 3d data
data = importdata('slice1_grid1.txt') ; x = data(:,1) ; y = data(:,2) ; z = data(:,3) ; %% Make grid m = 5000 ; n = 5...

2 dagen ago | 0

Answered
Plot function over two intervals
m = 500 ; x = linspace(-1,3,m) ; f = zeros(size(x)) ; f(x>=-1 & x <=0) = 1 ; f(x>=0 & x <2) = -1 ; plot(x,f)

2 dagen ago | 0

Answered
Merging multiple csv files into one mat file
csvfiles = dir('*.csv') ; N = length(csvfiles) ; A = cell(N,1) ; for i = 1:N A{i} = csvread(csvfiles(i).name) end

2 dagen ago | 0

| accepted

Answered
how do i adjust the alignment of the columns?
I would suggest this: a = [1 0.74 0.56 0.66]; b = (1:25)'; c = b * a; T = table(c(:,1),c(:,2),c(:,3),c(:,4),'VariableNames...

2 dagen ago | 0

Answered
How to retrieve pixel coordinates from sentinel lat/lon arrays for a given location?
Read about scatteredInterpolant if you want to do by intpolation......Read about knnsearch if you want a neasrest value.

2 dagen ago | 0

Answered
Deleting data from a graphics
x = rand(10,1) ; y = rand(10,1) ; figure hold on for i = 1:10 h = plot(x(i),y(i),'.r') ; end title('delete some ...

2 dagen ago | 0

| accepted

Answered
How to compare each element of matrix having binary numbers?
idx = a ==b

2 dagen ago | 0

| accepted

Answered
How to get distinct markers for scatter plot while reading data from excel?
x = rand(100,1) ; y = rand(100,1) ; G = 4 ; % four groups idx = kmeans([x y],4) ; figure hold on M ={'+','*','s','...

2 dagen ago | 0

| accepted

Answered
Asking about resolution of coast.mat dataset
It is not uniform...it keeps changing......you may check it on your own..... load coast.mat unique(diff(long)) unique(diff...

3 dagen ago | 0

| accepted

Answered
How to rotate an image and its coordinate around a point in it?
Refer here: https://stackoverflow.com/questions/19684617/image-rotation-by-matlab-without-using-imrotate

3 dagen ago | 0

Answered
The radii of my binary pattern in respect to its boundaries
I = imread('Image.bmp'); % Remove white background around corners grayImage = min(I, [], 3); binaryImage = grayImage < 200; ...

3 dagen ago | 0

Answered
Finding arrays above threshold value
% Make some random data for demo A = cell(10,1) ; for i = 1:10 N = randperm(1000,1) ; A{i} = rand(N,1) ; end % ...

4 dagen ago | 1

Answered
how to know the column numbers of a matrix which contains values less than 50.
Let A be your row matrix. idx = A<50 ; idx = find(idx)

4 dagen ago | 0

| accepted

Answered
using nchoosek to gather possible combinations of data
N = length(x) ; idx = nchoosek(1:N,2) ; xi = x(idx) ; yi = y(idx) ; zi = z(idx) ;

4 dagen ago | 0

| accepted

Answered
How can I represent a map with different with color value
Read about plot.....it takes input (x,y) and color vector 1*3. figure hold on for i = 1:10 x = rand ; y = rand ;...

4 dagen ago | 0

Answered
compute iterations to calculate pairs of data that do not repeat
Read about nchoosek https://in.mathworks.com/help/matlab/ref/nchoosek.html

4 dagen ago | 0

| accepted

Answered
could anyone help me to solve the issue for the following code.
Why you want to use a loop? i = 1:3 ; iwant = sum(i+1)

4 dagen ago | 0

Answered
function as arguement in matlab
function c = test(fun,a,b) c = fun(a,b) Call a = rand ; b = rand ; c = test(@tan2d,a,b)

4 dagen ago | 0

Answered
Assigning values from small grid into larger grid using nearest coordinates
Read about knnsearch. This will give you indices and you can easily replace the values.

4 dagen ago | 0

Answered
cell2mat error
C = [{'1 1 3 2' } {'2 3 5 2' } {'3 4 5 3' } {'4 1 4 3 '}] ; C = cell2mat(cellfun(@str2num,C,'UniformOutput',fa...

4 dagen ago | 0

| accepted

Answered
How do i convert my text file into a column array with the same format as it is in the text file ?
fid = fopen('TestLists.txt','r') ; S = textscan(fid,'%s','delimiter','\n') ; fclose(fid) ; S = S{1} ; S{1} % first line ...

4 dagen ago | 0

| accepted

Answered
Display results from t-test after loop
YOu can make them a matrix...why structure? p_value_A = zeros(10,3) ; p_value_B = zeros(10,3) ; for subject = 1:10 ...

4 dagen ago | 0

Answered
How to Convert a column with Char in Cell matrice to Number?
A = {'Time' 'Name' 'Location' 'Duration' 'Remarks' '100' 'John' 'Abc' '1000' 'Nill' '101' ...

4 dagen ago | 0

Answered
create an image from intensity value per pixel.
A = rand(512,512); imwrite(A,'myimage.png') ; figure imshow(A) figure imshow(imread('myimage.png'))

4 dagen ago | 0

Answered
temperature and gray level
I hope this demo code might help you: N = 100 ; x = rand(N,1) ; y = rand(N,1) ; s = rand(N,1) ; % Say intensity % A...

4 dagen ago | 0

Answered
How to read and visualize my lidar data?
Is this fine? fid = fopen('n008-2018-08-01-15-16-36-0400__LIDAR_TOP__1533151061547455.pcd.bin', 'r'); data = fread(fid,'singl...

4 dagen ago | 0

Answered
Find row index of first 'True' value in column of table
Let T be your table. idx = contains(T.active,'True') ; iwant = find(idx) T(idx,:)

4 dagen ago | 2

Answered
How to draw a 3D surface plot with some disordering points?
load data.mat ; xi = unique(x) ; yi = unique(y) ; [X,Y] = meshgrid(xi,yi) ; Z = griddata(x,y,z,X,Y) ; surf(X,Y,Z)

4 dagen ago | 0

| accepted

Answered
Create a 20x24 matrix with each individual column with random integers without duplicate
iwant = zeros(20,24) ; for i = 1:24 iwant(:,i) = randperm(20,20); end

4 dagen ago | 1

| accepted

Load more