Community Profile

photo

KSSV


INCOIS

6,372 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
calculate area in table
Load the data from excel file using xlsread or readtable. Once you have data in workspace......you can get your desired result u...

14 hours ago | 0

Answered
How to calculate distance between center of white pixels in an image?
REad about imdistline; this will allow you to calculate the distance between the points interactively. For this you are supposed...

19 hours ago | 1

| accepted

Answered
How to import variables to excel sheet?
Read about xlswrite

4 days ago | 1

| accepted

Answered
Exporting data from workspace
REad about xlswrite

5 days ago | 0

Answered
Parabola plot not displayed correctly
You are suing the random numbers for demo.....you have to sort them before you use: X = randi(100,[40, 1]) ; X = sort(X) ; ...

5 days ago | 0

| accepted

Answered
How to name each row of a 4 by 4 matrix, that is calculated. Then plot those rows each in a separate figure?
A = rand(4,4) ; var = {'row1', 'row2','row3','row4'} ; % Table T = table(A, 'RowNames',var) ; % Plot for i = 1:4 ...

5 days ago | 0

| accepted

Answered
How to label the interior of region as 2 where as boundary is already labelled as 4 for an object using Matlab coding
AS you have coordinates for the boundary (i.e 4), use inpolygon and get the coordinates lying inside it. Label them or fill the ...

5 days ago | 0

Answered
how to add 2 legends for 2 portions of one plot?
th = 0:pi/100:2*pi ; y = sin(th) ; plot(th,y) % set 1 th1 = th(th<=pi) ; y1 = y(th<=pi) ; % set 2 th2 = th(th>pi) ; ...

6 days ago | 0

Answered
how to store data in a matrix?
U10 = ncread(filename,'U10M'); If your variable U10M is 3D, the above line reads complete data. Your U10 should be 3D....

6 days ago | 0

| accepted

Answered
How to modify text file
fid = fopen('data.txt') ; S = textscan(fid,'%s') ; fclose(fid) ; S = S{1} ; % Find the string you want to change idx =...

6 days ago | 0

Answered
How to calculate derivation of 2D spline data
REad about gradient

6 days ago | 0

Answered
Import of a 2D mesh created by Mesh2D or NodeLab into PDE Toolbox
You need to proved the mesh in .stl format. Write the required data into .stl file using: https://in.mathworks.com/matlabcentral...

6 days ago | 0

Answered
Marker points are not fully visible
plot(x,y,'ok','MarkerSize',12,'MarkerFaceColor','k');hold on plot(x1,y1,'LineWidth',2); hold off a = datenum(x1); datetick('...

6 days ago | 0

Answered
Linear Regression - how to incorporate in figure
Read about plotregression x=[1 2 5 9 4 10 11 2 6] ; y=[5 3 6 8 5 12 14 4 8] ; plotregression(x,y);

7 days ago | 0

Answered
number format using solve
REad about double and vpasolve

7 days ago | 0

Answered
Write Data to Excel
x = rand(3,1) ; y = rand(3,1) ; z = rand(3,1) ; T = table(x,y,z) ; writetable(T,'test.xlsx')

7 days ago | 0

Answered
How do I put elements from one matrix into separate matrices using a loop?
You can use functions like ismember. You can also use logical indexing. The best would be ismember. Read about the function.

7 days ago | 0

Answered
how to divide a 3D figure in matlab in to cubes and getting the cubes's addresses
How about using this function? https://in.mathworks.com/matlabcentral/fileexchange/15161-plotcube You can draw cubes by provid...

7 days ago | 0

Answered
Intersection between lines and traced shape
The best you can use is: https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=funct...

7 days ago | 0

Answered
Getting image dimensions into a table
%% Get the dimensions of the image Namelist = cell(length(filelist), 1); N = length(filelist) ; S = zeros(N,3) ; for i = 1...

7 days ago | 0

| accepted

Answered
Read images in four different folders
This is asked multiple times int he forum and it has ben answered lot of times. Refer this one for example: https://in.mathwor...

7 days ago | 0

Answered
How to change contour level in different range?
[X,Y,Z] = peaks(100) ; figure hold on contour(X,Y,Z,'LevelList',-6:0.2:4) % levels with difference 0.2 for till 4 contour(...

7 days ago | 1

| accepted

Answered
why i get an error ?
Z=uint8(254*((L-mm)/oo))+1; Y = uint8(Y) ; SS=mod((Y+Z),256) Note that same class varibales only can be added. A integer sho...

7 days ago | 0

Answered
How do I get the area of this problem?
Refer this: https://in.mathworks.com/matlabcentral/fileexchange/33543-monte-carlo-method?focused=5201749&tab=function

7 days ago | 1

Answered
How to convert netcdf to tiff
Refer this for the same question: https://in.mathworks.com/matlabcentral/answers/353583-netcdf-into-geotiff-tiff-file-conversion...

7 days ago | 0

Answered
Smooth curves how to
x=[1 2 3]; y=[1.22 3.31 1.91]; xx = min(x):0.1:max(x); yy = spline(x,y,xx); plot(x,y,'r',xx,yy,'b')

8 days ago | 0

| accepted

Answered
Orthogonal Distance Regression plot and regression equation
Refer this: https://stackoverflow.com/questions/12250422/orthogonal-distance-regression-in-matlab

8 days ago | 0

| accepted

Answered
image processing, k nearest neighbor
This is how you can use knnsearch. a=imread('coins.png'); b=im2bw(a); c=zeros(size(b)); [ptx,pty] = ginput(1); newdata=[pt...

10 days ago | 0

Answered
Check for the length of the matrix
A = rand(3) ; B = zeros(5) ; [nx,ny] =size(A); B(1:nx,1:ny) = A ; Also read about padarrays

11 days ago | 0

Answered
If loop not executed in a function
Use strcmp instead of equating. function[A0,A1,A2,A3,A4,A5]=Trial_types(ship_type,x) if strcmp(ship_type,'Passenger ship')...

11 days ago | 2

| accepted

Load more