Community Profile

photo

KSSV


Last seen: Today Active since 2011

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

Statistics

All
  • MATLAB Central Treasure Hunt Finisher
  • Personal Best Downloads Level 4
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 36 Month Streak
  • Master
  • Revival Level 3
  • Thankful Level 2
  • Knowledgeable Level 4
  • First Answer
  • Solver

View badges

Content Feed

Answered
combined Filled area and contour plotting
Refer here: https://in.mathworks.com/matlabcentral/answers/412639-creating-surface-plot-from-a-matrix-with-3-columns

3 hours ago | 0

Answered
Change the value in multiple text file?
You need not to take a loop, you can straight away use the logical indexing. ZEE=xlsread('zee.xlsx','Area','B2:MP138'); ZEE=Z...

14 hours ago | 0

Answered
Generate training progress plot from saved trained model
[testnet,traininfo] = trainNetwork(augimdsTrain,lgraph,options); save('data.mat','testnet','traininfo') traininfo has the deta...

16 hours ago | 0

Answered
Is it possible to create a road at once in shp file data?
S = shaperead(filename) ; P = [[S(:).X]' [S(:).Y]'] ; plot(P(:,1),P(:,2))

16 hours ago | 0

Answered
Creating hourly average data with geographic coordinates to produce 3D matrix
T = readtable('New Text document.txt') ; t = T.hour ; lon = T.lon ; lat = T.lat ; temp = T.temp ; [c,ia,ib] = uniqu...

1 day ago | 0

Answered
how to plot by varying initial conditions
function myfun() %plot n vs x n vs y R = cell(10,1) ; figure hold on for n=1:10 [t,r]=ode45(@fn,[0 140],[0.01+n 0.01 ]) ;...

1 day ago | 0

Answered
scatter3 color projection
clc; clear all ; load('test_data.mat') x=test(:,1); y=test(:,2); z=test(:,3); figure scatter(x,y,1000,z,'s','filled'); ...

1 day ago | 0

| accepted

Answered
How to make scatter
Fit striaght line to the given data using polyfit. Plot the line using plot function. Use hold on Plot the given data using ...

2 days ago | 1

Answered
2D Colored Plot
You can get the indices of the required values and plot them with different colors. x = 0:.05:2*pi; y = sin(x); figure hold...

3 days ago | 1

Answered
How to search closest coordinate values in a Lat Long Z data
Read about knnsearch. https://in.mathworks.com/help/stats/knnsearch.html

3 days ago | 0

Answered
How to set specific colors in horizontal error bars?
h = herrorbar(x,y,z) ; Check the handle h, it has options to change color. You may play around with that. Like: h(1).Color =...

4 days ago | 0

| accepted

Answered
how to solve the error "Unable to perform assignment because the indices on the left side are not compatible with the size of the right side"
The error is clear, this error pops out when you are trying to save more number of elements than the initialized array. Exampl...

4 days ago | 0

Answered
Remake a single file data plot to multiselect file data plot script
Why you want to use uiget ? You can think of the below option. txtFiles = dir('*.txt') ; N = length(txtFiles) ; for i = 1:...

4 days ago | 0

Answered
Put arrows on a continuous line plot to show direction of evolution
Try this: data = importdata('Quiver_Data.txt') ; x = data(:,1) ; y = data(:,2) ; dx = gradient(x) ; dy = gradient(y) ; ...

4 days ago | 0

Answered
How to save a plot with multiple overlays as a single variable and/or plot the regression for all points as one line?
Read about function regression to get the regression value and read about plotregression to get the regression plot.

4 days ago | 0

Answered
what should I include in the code that read the data from specific sheet of excel file
T = readtable('myfile.xlsx','Sheet','1');

4 days ago | 0

| accepted

Answered
Resampling a Vector of a specific length between 0 to 100% (ie 100 points)
load('GRF.mat') x = 1:length(GRF) ; plot(x,GRF) ; xi = linspace(1,length(GRF)) ; GRFi = interp1(x,GRF,xi) ; plot(x,...

4 days ago | 0

Answered
how to vectorize squared function
r2 = (X-Y).*L.*(X-Y)';

4 days ago | 0

Answered
replace array value with if condition
Let A be your array. A(A>=5) = 5 ; A(A<4) = 2 ;

4 days ago | 0

Answered
Create a graph from 2 vectors and a matrix
Read about pcolor and surf. pcolor(X,Y,Z') shading interp colorbar

4 days ago | 0

Answered
sorting a matrix of 4 rows by the fourth element and outputting of combinations that make the 4th row element
NOTE: Never use a function name as the variable. You have used length as variable, this is problematic. clc; clear all ; %x: ...

4 days ago | 0

| accepted

Answered
to compare two matrix element by element
You can use inequalities straight away. idx = A>B ;

5 days ago | 0

Answered
Against value plot different value
This is a simple problem, you sould learn about MATLAB basics. This time I am answering your question; next I am not going to he...

5 days ago | 1

Answered
combine Latitude and longitude country data from multiple arrays into one array
Let A be your data of size 249*64800 [m,n] = size(A) ; iwant = zeros(180,360,m) ; for i = 1:m iwant(:,:,i) = reshape(...

5 days ago | 0

Answered
How to concatenate strings
str = 'Matlab Is Fun' ; iwant = cellfun(@(v)v(1),strsplit(str))

5 days ago | 0

| accepted

Answered
Matlab Crashes when paste from excel
Why you want to paste data from excel into MATLAB? You should not do this. You have to load/ read the data from excel into MATLA...

6 days ago | 0

| accepted

Answered
How to convert images as array to images and save them in folder
Refer this: https://in.mathworks.com/matlabcentral/answers/362262-i-have-a-32-32-matrix-i-want-to-take-mean-of-each-4-4-so-that-...

6 days ago | 0

Answered
How to convert a .mat vector into a .csv file?
To load the matfile data into MATLAB use load. To write that variable into csv file use writetable. Read about both the function...

7 days ago | 0

| accepted

Answered
How to map subdivisions in a squared geometry
x = 1:5 ; y = 1:5 ; [X,Y] = meshgrid(x,y) ; X(3,3) = NaN ; Y(3,3) = NaN ; plot(X,Y,'r',X',Y','r')

7 days ago | 0

Answered
MAE and RMSE in percentage
MAE_Perc=mae((True-Predict)/.True); % <-- bracket needed here RMSE_Perc=sqrt(mse(Tru-Predict)/.True);

7 days ago | 0

Load more