Community Profile

photo

KSSV


Last seen: Today 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

バッジを表示

Content Feed

表示方法

回答済み
row of a random size matrix
A = rand(5,4) ; a = num2cell(A',1) ; A(1,:) a{1}

約8時間 前 | 0

回答済み
Finding the mean at each interval
T = readtable('https://in.mathworks.com/matlabcentral/answers/uploaded_files/746119/Data.xlsx') ; Temp = T.Temp ; V = T.V ; ...

約11時間 前 | 0

回答済み
How to extract data of a region using shapefile?
Read about inpoly.

約12時間 前 | 0

回答済み
Using while loop in normalized matrix
x = 0 ; y = 0 ; a = 0.2; b = 0.3; while ~(x == 1 && y == 1) c = rand ; d = rand ; m = [a c; b d]; d=nor...

約15時間 前 | 1

| 採用済み

回答済み
extract data in specific interval
Let thedates be your datetime array. [y,m,d,h,m,s] = datevec(thedates) ; iwant = thedates(y==2020) You can also use inequal...

1日 前 | 0

回答済み
I have a 2 dimensional array. I want to view it.
x = trajectories(:,1) ; y = trajectories(:,2) ; plot(x,y)

1日 前 | 0

回答済み
I need help about the imbalanced data
Read about readtable. After reading you can access the rspective columns using T.T1, T.T2 etc... or T.(1), T.(2) etc. T = re...

1日 前 | 0

| 採用済み

回答済み
how to read images from subfolder of a data base and train svm cllasification
https://in.mathworks.com/matlabcentral/answers/437494-how-to-loop-through-all-files-in-subfolders-in-a-main-folder https://in....

1日 前 | 0

回答済み
Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
emat = cell([],1) ; % INPUT OF INITIAL MATERIAL DISTRIBUTION % ONLY in 1st ITERATION if (a==1) fid = fopen(...

1日 前 | 0

| 採用済み

回答済み
Create a 95% confidence circle
Yes you can use... the change would be a == b i.e. horizontal and vertical radii should be same.

1日 前 | 0

回答済み
How to show difference equation on the command line?
fprintf('y(n) = 0.25\n') fprintf('y(n-2) = 2*x(n)+0.5*x(n-2)\n')

1日 前 | 0

回答済み
How to read the variables from a file
https://in.mathworks.com/matlabcentral/answers/251731-how-to-take-text-files-and-turn-the-data-into-variables

1日 前 | 0

回答済み
How do I enter f(x) = sin((π/2) x) + sin((2/5)πx) over the interval [0,40]
x = linspace(0,40,100) ; f = sin(pi/2*x)+sin(2/5*pi*x) ; plot(x,f)

1日 前 | 0

回答済み
How to combine 2 tables with different variables into 1 table?
Convert both the tables into arrays using table2array. And then you need to use below: T1 = [1 2 3 4 5; 10 20 30 40 50]' ; T2 ...

1日 前 | 0

| 採用済み

回答済み
How to plot a graph?
You can striaght away use plot on 50*6 matrix. plot(A) ; % A is 50*6 matrix legend

2日 前 | 0

回答済み
Finding 8 points on an ellipse
Find the major, minor axes of ellipse i.e. (a,b). Once these are known, the paraetric equation of ellipse are: Take phi = 0:p...

2日 前 | 1

回答済み
i have an error using plot function with syms engine
You need to substitue the value of a into K1 using the function subs, convers the output into double and then plot. y = double...

2日 前 | 0

回答済み
finding indices of values in a range
To achieve the first task, you can use inqualities i.e. >, <. = etc. To achieve the second task use ismember.

2日 前 | 0

回答済み
matrix1:matrix2 ?
It means : a=[1 2 3; 4 5 6] ; b=[1 2; 3 4 ; 5 6] ; a(1):b(1) i.e. it is taking a(1,1) and b(1,1) and trying to make a linsp...

2日 前 | 0

| 採用済み

回答済み
How to convert logarithmic to linear
Take exp of the result. The inverse of log is exp,

2日 前 | 0

回答済み
how to evaluate equation at different values?
mu=linspace(2.4,4,1000); x = zeros(size(mu)) ; x(1)=.5; for i=1:10 x(i+1)=mu(i)*x(i)*(1-x(i)); end plot(mu,x)

3日 前 | 0

回答済み
Save a loop iteration into a ZEROS array
Note that Array is not all zeros. It has complex numbers, so when you are printing you feel like they are zeros. Also you need n...

4日 前 | 0

回答済み
How to get the file names that start with the same letter in the folder?
f = dir('T*.bin') ; N = length(f) ; for i = 1:N f(i).name end

5日 前 | 0

| 採用済み

回答済み
find ID's of repeated values in array
[c,ia] = ismember(t2,t1)

5日 前 | 0

回答済み
Create a function based on some criteria
if x <= 0 y = -1 ; elseif x > 0 && x <= 5 y = x^3 ; elseif x > 5 y = x^2 ; end

5日 前 | 0

| 採用済み

回答済み
How to save output of double loop?
A = zeros(n,m) ; for i=1:n for j=1:m A=myfunction(...); % assuming output of the function is 1x1 end e...

5日 前 | 1

回答済み
How can I detect constant signal patch from whole signal by using matlab script ?
x = 0:0.1:10; y = gaussmf(x,[2 5]); % Introduce constant value [val,idx] = max(y) ; idx0 = idx:idx+10 ; y(idx0) = val ; ...

5日 前 | 0

回答済み
How to plot 2D Linear Inequality?
[x1,x2]=meshgrid(0:.1:10,0:.1:10); cond1=x1-x2<=-2; cond2=-0.3*x1-x2<=-8; cost=0.4*x1.^2-5*x1+x2.^2-6*x2+50; figure (1)...

6日 前 | 0

| 採用済み

回答済み
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)

6日 前 | 0

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

6日 前 | 0

| 採用済み

もっと読み込む