Community Profile

photo

KSSV


Last seen: Today Active since 2011

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

Statistics

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

View badges

Content Feed

Answered
Function readtable: how to insert the value of a variable double in the directory
f = dir('C:\Users\hp\OneDrive\Project\Results\'); f(3) f(4)

ungefär 8 timmar ago | 0

Answered
How to plot velocity profile?
T = readtable('Atq16.xlsx') ; data = table2array(T) ; plot(data(:,2:end),data(:,1),'-or')

ungefär 9 timmar ago | 0

| accepted

Answered
Reading .rec files ( mutiple .rec files)
For .edf files you can use this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/31900-edfread For ...

ungefär 11 timmar ago | 0

Answered
How to find uaci by fixing one image and changing the other?
A = imread('whatever_is_A') ; B_images = dir('*.png') ; % you are in the folder of images and give extension N = length(B_...

ungefär 11 timmar ago | 1

| accepted

Answered
I want to cut a vector into even number of terms in a loop
save_T = 35; if mod(save_T,2)==0 % is even continue else save_T=save_T-1;

ungefär 12 timmar ago | 0

| accepted

Answered
Need help in plotting contour of speed, torque and eff
scatter(eff,speed,[],torque,'filled') You cannot plot contour with the given data. You have 1D data. You need to have 2D data...

ungefär 13 timmar ago | 0

Answered
How to solve many equations at once? (Not a system but just multiple separate equations)
You get the solution for x in terms of Pm first. This will be a symolic xpression. In that you can substiture your Pm values to ...

ungefär 13 timmar ago | 0

Answered
Histogram fit with curved fitting
You are expecting like this? v = randn(1000,1) ; h = histogram(v) ; i = h.BinEdges ; x = mean([i(1:end-1)' i(2:end)'],...

ungefär 14 timmar ago | 0

| accepted

Answered
Putting array in function to graph
x = 0 : 0.1 : 2; y = 0.7*(x.^2).*(1+0.2*(x.^2)).^-3.5 ; figure(1) plot(x,y) grid

ungefär 14 timmar ago | 0

Answered
Extracting rows in row-wise manner. How to do this?
Question sounds very silly. You can use a lloop. A = rand(100,4) ; B = zeros(100,4) ; for i = 1:100 thisrow = A(i,:) ...

ungefär 15 timmar ago | 0

Answered
How to generate multiple .stl files in a loop?
You are overwriitng the stl files. Always you are using the same name to .stl file. You need to give different filename; check t...

ungefär 15 timmar ago | 0

| accepted

Answered
How can I sort data from an excel file and assign ID's to binary classes?
You need not to use a loop. You can go by inequalities, where you will get logical indices as output. The logical indices have 1...

ungefär 15 timmar ago | 0

Answered
How do I fit a surface to this data properly?
Read this: https://in.mathworks.com/help/curvefit/fit.html

ungefär 15 timmar ago | 0

Answered
Cannot use "v>=0"?
while rem(v,2)~=0 | v>=0

ungefär 15 timmar ago | 0

| accepted

Answered
How to merge two tables, keeping independent variable (x) the same but summing the dependent variable (y)
T1 = readtable('Confoss_landings.xls') ; T2 = readtable('Mainefoss_landings.xls') ; [idx,ia] = ismember(T2.(1),T1.(1)) ; ...

en dag ago | 0

| accepted

Answered
How to generate a rhythm in Matlab?
n = 2 ; % number of 0's l = 4 ; % length of array m = l-n ; % number of 1's iwant = [repelem(0,n) repelem(1,m)] ; % ra...

en dag ago | 1

| accepted

Answered
Make 3d sphere plot from net of sphere
clc; clear all ; I = imread('cameraman.tif') ; [m,n] = size(I) ; [X,Y,Z] = sphere(m-1,n-1) ; surf(X,Y,Z,flipud(I),'...

en dag ago | 0

Answered
how to draw a number of circle inside large circle having same origin but different radius
r = linspace(0,1,10)' ; % Radii th = linspace(0,2*pi) ; C = [0 0] ; % Center x = cos(th) ; y = sin(th) ; X = C(1)...

en dag ago | 1

Answered
How to create a new matrix with a for loop?
You should not create individual arrays like that. You should proceed something like this iwant = zeros(3,100) ; iwant(i,:) =...

en dag ago | 0

Answered
find a value between two points
Read about interp1. If you have curve data as (x,y), at the point xi you can seek the value using: yi = interp1(x,y,xi)

en dag ago | 0

Answered
Projecting a point along normal direction
You may use this file exchange function: https://in.mathworks.com/matlabcentral/fileexchange/32696-2d-line-curvature-and-normals...

en dag ago | 0

| accepted

Answered
Correctly plot the quiver on a figure
Try changing (x,y) i.e. use (y,x) instead.

en dag ago | 0

Answered
Sort a Matrix by the first column connecting the row elements so that the elements of the second column 'follow' those of the first.
A = rand(10,2) ; [val,idx] = sort(A(:,1)) ; iwant = A(idx,:)

2 dagar ago | 0

| accepted

Answered
If same value apperas in array count +1
input = [ 1 2 3 4 1 2 3 4 1 2 3 4 ]; a = reshape(input,[],3)' ; [c,ia,ib] = unique(a,'rows') ; ib

2 dagar ago | 1

Answered
sum different cell arrays based on index
A = { [0,1,0], [1,0,0], [0,0,0], [0,0,0], [0,0,1], [1,1,0], [0,0,0]} ; id = { [1,2,3], [4,5,6] } ; n = length(id) ; iwant...

2 dagar ago | 0

| accepted

Answered
Embed vector field in bigger array
Read about padarray. Other option: A = rand(4) ; B = zeros(10) ; B(3:6,3:6) = A

2 dagar ago | 0

| accepted

Answered
How to find function for many parameters?
vals = [1, 2,3 6,1,4 7,3,5] ; [m,n] =size(vals) ; B = zeros(4,4,m) ; for i = 1:m B(:,:,i)=fun(A,vals(i,1),vals(i,2...

2 dagar ago | 1

| accepted

Answered
How to Copy Upper diagonal elements of matrix A into a new matrix.
You need to proceed like this: for i = 1:m for j = 1:n if i <= j end end end

2 dagar ago | 0

Answered
How to set level values of a variable by comparing(subtracing) two nc files
Your interpolation grid coordinates are completely different comapred to original grid. Read about interp2. ncfile_1 = 'A20150...

2 dagar ago | 0

| accepted

Answered
How to match the origins of two different length vectors and pad zeros to match their length?
You must be having (t1,x1) and (t2,x2) ; these are two singlas. You can pick the superset time out of (t1,t2). For the other f...

3 dagar ago | 0

Load more