Community Profile

photo

KSSV


INCOIS

6.162 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
how should i plot these data?
data = xlsread('Book1.xlsx') ; x = data(:,1) ; y = data(:,2) ; plot(x, y); % a basic monochrome plot % Trick surfac...

circa 21 ore ago | 0

| accepted

Answered
How can I solve randperm error with words?
Tile = {'house', 'core', 'word', 'ask', 'question', 'horse', 'phone', 'eyes', 'hair', 'man'}; % Gives random arrangement X =...

circa 22 ore ago | 0

Answered
Extract data from CSV files
Read about xlsread, csvread, readtable functions.

circa 24 ore ago | 0

Answered
Dimensionality reduction on matrices with missing entries
[coeff,score,latent] = pca(mymatrix) here latent gives you variance of the principal components in decreasing order. You can pi...

circa 24 ore ago | 0

Answered
Merge Csv files.
csvfiles = dir('*.csv') ; N = length(csvfiles) ; iwant = cell(N,1) ; for i = 1:N iwant{i} = xlsread(csvfiles(i).name)...

1 giorno ago | 0

Answered
is there any idea on how to compare an .xls file and .csv file?
Load bot the data into MATLAB using xlsread. Get the common strings using ismemebr, contains

1 giorno ago | 0

Answered
I want to convert 3D (6x4x5 double) data to 2D data
A = rand(2,2,3) ; out = reshape(permute(A, [2 1 3]), size(A, 2), [])'

1 giorno ago | 0

| accepted

Answered
Pca built-in function and how its works?
REad abut Singula Value DEcomposition. svd . And refer this for more clarity: http://www.cs.otago.ac.nz/cosc453/student_tutori...

1 giorno ago | 0

| accepted

Answered
how to draw bounding box?
Read about rect https://in.mathworks.com/help/matlab/ref/rectangle.html

1 giorno ago | 0

| accepted

Answered
formulation of square matrix
A = magic(3) ; B = cell(5,5) ; B(:) = {A} ; B = cell2mat(B)

2 giorni ago | 0

| accepted

Answered
Converting Photos to a Video
To convert images into frame follow: I = imread('peppers.png') ; imshow(I) F = getframe ; rgb = frame2im(F) ; imshow(r...

2 giorni ago | 0

Answered
"Index in position 1 exceeds array bounds (must not exceed 1)." Error
Problem is with your BIP. It shoule be cXc matrix i.e it shoule be 2X2 for your inputs. You have entered it as 1X2, so the error...

3 giorni ago | 1

| accepted

Answered
how can I convert cell to double
load temp.mat ; iwant = cell2mat(temp')

3 giorni ago | 0

| accepted

Answered
How measure distance from center of the image to the object
YOu can measure the distance from center of the object to center of the image as below: I = imread('object_with problem.png'...

3 giorni ago | 0

| accepted

Answered
Match each element of one array with each element of other array without loops
Read about ismember, ismembertol and knnsearch.

3 giorni ago | 0

Answered
Converting a mat grid file to xyz
A = rand( [180,360,117) ; for i = 1:117 T = A(:,:,i) ; iwant = T(:) end

3 giorni ago | 0

Answered
How to connect dots on graph?
E1=[0.229711113281264;0.244475859375016;0.261230097656256;0.283730156249987;0.311849589843713;0.344379609374935;0.37915166015615...

3 giorni ago | 0

| accepted

Answered
Find overlap from two scatter plots
This problem can be solved with ease using knnsearch. Read about this function. YOu can get the nearest points in A for each poi...

3 giorni ago | 1

| accepted

Answered
creating an column vector of value which is obtained from 3rd position of multiple text files
A = rand(5) ; B = sort(A) ; iwant = B(3,:)

3 giorni ago | 0

Answered
combining different csv files from a folder into one matrix
csvfiles = dir('*.csv') ; iwant = zeros(1554,801) ; for i = 1:length(csvfiles) data = csvread(csvfiles(i).name) ; ...

3 giorni ago | 0

Answered
Delete rows in cell arrays
load CellBdS.mat ; s = rawPortData{1}.INDX_MWEIGHT_HIST ; s = s{1} ; c1 = s(:,1) ; % delete first row c1(1) = [] ; % a...

4 giorni ago | 1

| accepted

Answered
Simple Monte Carlo Taking Too Long
Don't print the result in workspace. Terminate the output using ; Initialize the arrays which are getting filled in loop. i...

4 giorni ago | 0

| accepted

Answered
How can i extract and store colums from my data
data = importdata('data.txt') ; id = data(:,1) ; [c,ia,ib] = unique(id) ; N = length(c) ; iwant = cell(N,1) ; for i ...

4 giorni ago | 0

| accepted

Answered
3d Animation of a point
[num,txt,raw] = xlsread(myfile) ; x = num(:,1) ; y = num(:,2) ; z = num(:,3) ; comet3(x,y,z)

4 giorni ago | 0

Answered
Merging Multiple text files
txtfiles = dir('*.txt') ; ncfile = 'myfile.nc' ; N = length(txtfiles) ; nx = 455 ; ny = 455 ; % number of lat, lon for ...

4 giorni ago | 1

| accepted

Answered
Why is subtracting different sized matrices not giving me an error? What is matlab calculating?
What you are doing is not correct. Note that fft_x - sxx will be a matrix of size 1000X3328. It will subtract the respective ...

4 giorni ago | 0

Answered
Plotting Latitude, Longitude and a variable
[num,txt,raw] = xlsread('sample_data.xlsx') ; lat = num(:,1) ; lon = num(:,2) ; z = num(:,3) ; z(z>500) = NaN ; s...

4 giorni ago | 0

| accepted

Answered
Reading in an Entire Video
vidObj = VideoReader('C:\Users\Public\Videos\Sample Videos\Wildlife.wmv'); numFrames = 0; iwant = cell([],1) ; while hasFram...

4 giorni ago | 0

Answered
how to interpolate 2d curves together in 3d
Read about griddata.

5 giorni ago | 0

Answered
Index of point in matlab plot
x = rand(10,3); y = rand(10,3); hold on plot3(x(:,1),x(:,2),x(:,3),'R.') plot3(y(:,1),y(:,2),y(:,3),'B.') idx = knnsear...

5 giorni ago | 0

Load more