Community Profile

photo

KSSV


INCOIS

6,278 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
Find yellow pixels in an image
Loop not required...refer this https://in.mathworks.com/matlabcentral/answers/4508-modify-this-code-to-detect-yellow-colour

2 hours ago | 0

Answered
How to measure width of the strip lines from an image?
I = imread('P_20190617_135833_vHDR_On.jpg') ; I1 = rgb2gray(I) ; I2 = imbinarize(I1) ; [y,x] = find(I2) ; % Get boundin...

4 hours ago | 0

Answered
Pixel value of edge
% Left side I(:,1) % Right Side I(:,end) % Top I(1,:) % Bottom I(end,:)

1 day ago | 0

Answered
Combining files and mapping them using x and y coordinates
Read about ismember

1 day ago | 0

| accepted

Answered
How to plot a 3D scatter having colormap with hyperplanes going through a point?
Are you expecting something like this? x= [5, 8, 20, 25, 40]; y=[0.2, 0.66, 0.8, 1.0, 1.4]; z = [3, 2, 1, 0.5, 0.25]; A =...

1 day ago | 0

Answered
How can I make a waterfall plot from a folder full of text files?
txtfiles = dir('*.txt') ; N = length(txtfiles) ; figure hold on for i = 1:N data = importdata(txtfiles(i).name) ; ...

4 days ago | 0

Answered
how to set a one dimensional matrix flag ,which length is 65536 and each of its elements is zero.?
iwant = zeros(1,65536) ; Read about zeros. If you want ones, read about ones.

4 days ago | 1

Answered
How to modify the coordinate of a 3D cube ?
Follow this: https://in.mathworks.com/matlabcentral/fileexchange/15161-plotcube

4 days ago | 0

| accepted

Answered
How to remove header lines in .txt file?
REad about textscan; here you can provide the number of header lines.

4 days ago | 0

Answered
Segmenting data based on multiple min and max value
Read about findpeaks. It will give indices and values of the maximas. From the indices you take next and before values.

5 days ago | 0

Answered
Extract cell with number lines and columns
Read about xlsread and readtable.

5 days ago | 0

Answered
Summation of a character
Read about uint16. This will convert the characters into numeric codes. When you use sum on the characters, they will be convert...

5 days ago | 0

Answered
How to prevent a figure window to automatically take focus
We should look into code for straight solution. Check the below code: for i = 1:10000 figure(1) plot(rand(1,100)); ...

7 days ago | 0

Answered
Saving data from a loop in an array
clc clear all close all dir = 'C:\Users\Anton\Documents\MATLAB\'; file = 'Rennen_meting_3.mat'; Visualizedata = true; load...

7 days ago | 0

| accepted

Answered
Three-dimensional matric and Excel
How about writing each matrix in a sheet. A = rand(10,10,5) ; for i = 1:5 xlswrite('test.xlsx',A(:,:,i),i) end

7 days ago | 0

Answered
How to write xyz files
Let A(x,y,z) be your m*3 array. fid = fopen('test.txt') ; fprintf(fid,'%f %f %f\n', A') ; fclose(fid) ;

7 days ago | 0

Answered
How to tabulate the values?
I=[-40 -30 -20 -10 0 10 20 30 40]; w=[0.035 0.5 1 1.25 1.5]; h=1.57; I_len=length(I); w_len=length(w); T = zeros(w_len,I_...

7 days ago | 0

| accepted

Answered
How to plot Heat in 3D cartesian plane.
Let (x,y,z) be your data. m = 100; n = 100 ; xi = linspace(min(x),max(x),m) ; yi = linspace(min(y),max(y),n) ; [X,Y] = ...

7 days ago | 0

Answered
how to merge multi netcdf files in single
REad the first file for lat, lon , data dimensions. Run a loop for each file. Read data using ncread inside loop for every f...

7 days ago | 0

Answered
How to get rid of gaps in my structure?
S = struct ; for i = 1:2:10 S(i).val = rand(10,1) ; end % GEt the empty structures idx = find(arrayfun(@(S) isempty(...

7 days ago | 0

| accepted

Answered
Find the intersection of a square pixel with a closed 2D curve
Use this file exchange: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=func...

7 days ago | 0

Answered
Getting a variable and its value from a csv file
T = readtable(file) ; T.var % where var is your variable name

7 days ago | 0

Answered
How to fill wing movement in 3d?
This is what you are looking for? load 'wingtip.mat' t = AA(:,1:3) ; wing = AA(:,4:6) ; patch(t(:,1),t(:,2),t(:,3))

8 days ago | 0

Answered
How to generate animated gif?
Read this to know how to write plots to a gif. https://in.mathworks.com/matlabcentral/answers/94495-how-can-i-create-animate...

8 days ago | 0

Answered
Interpolation of a scatter plot
Read about interp2, griddata. If not working attach your data.

8 days ago | 0

Answered
How to apply the laplacian filter on a color image in Matlab?
https://in.mathworks.com/help/images/ref/locallapfilt.html

11 days ago | 0

| accepted

Answered
How can I compute spectrogram for data vector containing NaN values?
Multiple options: Discard NaN's Fill the NaN's using interpolation (interp1, spline) Fill the NaN's using fillmissing Fill t...

11 days ago | 0

| accepted

Answered
How to measure the similarity between two signal?
Read about xcorr

11 days ago | 0

Answered
How to select points on a scattered plot with mouse?
Read about ginput

11 days ago | 0

| accepted

Answered
Linear indices from row and column indices for a rectangular region of interest.
YOu need to consider the size of matrix a. %this works a = rand(5,5); row_indices = 1:5; col_indices = 1:5; [X,Y] = meshgr...

11 days ago | 0

Load more