Community Profile

photo

KSSV


INCOIS

4,834 total contributions since 2011

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

Contact

KSSV's Badges

  • Revival Level 3
  • 24 Month Streak
  • Thankful Level 2
  • Ace
  • Knowledgeable Level 4
  • First Answer
  • Solver

View details...

Contributions in
View by

Answered
How to store a row vector of variable length in a matrix within a for loop
Nhbr = neighbors(Gnew, 1); cnt = size(Nhbr); pathstr = zeros([],2); % assuming it has two columns/ if not specify your ...

7 hours ago | 0

Answered
plot ellipses by clicking points?
figure hold on axis equal t=-pi:0.01:pi; for i = 1:10 a=10; % horizontal radius b=5; % verti...

8 hours ago | 0

Answered
How to display c matrix shown below?
Simply typing c will display on the workspace.....but what's the use? Read about _imagesc_, _imshow_, _pcolor_.

8 hours ago | 0

Answered
creating 2 side by side rectangles on matlab
x = 0:0.5:1 ; y = 0:1:1 ; [X,Y] = meshgrid(x,y) ; plot(X,Y,'r') ; hold on plot(x',Y','r')

9 hours ago | 0

Answered
Argument to dynamic structure reference must evaluate to a valid field name.
Replace that line by: r=2/pi*(atan(c*(sqrt(((Ixx-Iyy).^2+4*Ixy.^2)/(Ix.^2+Iy.^2))))); There is a typo error...instead ...

10 hours ago | 0

| accepted

Answered
Creating a shapefile from a set of coordinates
Xmin = 0. ; Xmax = 1. ; Ymin = 0. ; Ymax = 1. ; x = [0 1 1 0] ; y = [0 0 1 1] ; Data.Geometry = 'Polygon'...

11 hours ago | 0

| accepted

Answered
Image substraction in multiple frames
I1 = rand(50) ; % say a initial frame for i = 1:N I2 = rand(50) ; % say a present frame I1 = I2-I1 ; ...

13 hours ago | 0

Answered
How to find the intersection points of these functions?
Have a look on this file exchange: <https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=516513...

13 hours ago | 0

Answered
Multiple image subtractions that is comming from live camera
Let I1 and I2 be the image data obtained by using _imread_. Assuming they are of same dimensions: I = I1-I2 ;

13 hours ago | 0

Answered
How to write a matrix to a text file
A = importdata('hightemp.txt') ; A(:,1) = A(:,1)+1900 ; dlmwrite('Year2000.txt',A)

15 hours ago | 0

Answered
Speeding up writing a very large text file
How about this approach? S = rand(10000,3) ; S = cellstr(num2str(S)) ; fid = fopen('data.txt','w') ; fprintf(fid,...

1 day ago | 0

Answered
Preserving dates when importing a XLSX file in matlab.
data = readtable(myfile); data.Time = datetime(datevec(data.Date),'Format','dd/mm/yyyy');

1 day ago | 1

Answered
Structure variable as input in MATLAB function using VARARGIN
function plot1( varargin ) var = varargin{1} ; fig = gcf; temp = var(1); fig.Position(3) = temp.Po...

1 day ago | 1

| accepted

Answered
Change the shape of bars in a 3d-plot?
Refer it here: <https://stackoverflow.com/questions/24269516/how-i-obtain-bars-with-function-bar3-and-different-widths-for-each-...

1 day ago | 0

Answered
matlab coding for the below
Ta=250 ; Tb=500/2.2 ; t=1:500 ; g1=0.07 ; g2=0.004 ; Wa = 0.06 ; r = zeros(length(t),1) ; r(t<=Ta...

1 day ago | 0

Answered
How to get all possible rearrange permutations of array with repeated elements?
Try this from file exchange: <https://in.mathworks.com/matlabcentral/fileexchange/26397-vchooseko>

1 day ago | 0

Answered
Plot z = x^2 + y^2 over the interval -4 <= x <= +4, -4 <= y <= +4.
N = 100 ; x = linspace(-4,4,N) ; y = linspace(-4,4,N) ; [X,Y] = meshgrid(x,y) ; Z = X.^2+Y.^2 ; surf(X,...

4 days ago | 0

Answered
Finite element code - how to set up array and loop to a solution
You may refer the following book: <https://books.google.co.in/books/about/The_Finite_Element_Method_Using_MATLAB_S.html?id=b...

4 days ago | 0

Answered
how to implement research paper in matlab
1. Go through the paper. 2. Read the mathematics part of it. 3. Write a code. 3. Get the results and compare. ...

4 days ago | 0

| accepted

Answered
Save variable from each run through of a loop into .mat file?
Check this demo code: n = 10 ; % loop count filename='test.mat'; File = matfile(filename, 'Writable', true); fo...

4 days ago | 0

| accepted

Answered
how to access images from sub folders?
A simple google will give you lot of links to this question. This question is discussed and asked lot many times. <https://i...

4 days ago | 0

Answered
How to combine multiple inputs in one string, in GUI ?
A='45' ; B='85' ; C = strcat(A,B) D = [A B]

4 days ago | 0

| accepted

Answered
I want to plot multiple graphs in a single plot with some space between each signal
How about adding some number to the y values and plotting? A = rand(10,10) ; figure hold on x = 1:10 ...

4 days ago | 0

Answered
Show figure for each simulation when running a loop
After *plot* use _drawnow_. To show up a text use _text_. for i = 1:100 x = rand(10,1) ; plot(x) ...

4 days ago | 0

Answered
How to fit a surface to 3D dta points
% Unstructred data plot dt = delaunayTriangulation(IM,Z50) ; t = dt.ConnectivityList ; p = dt.Points ; fi...

5 days ago | 0

Answered
MATLAB throwing Parse error when I attempt to display matrices?
where you tried to use _disp_ ? This should not throw any error..unless you copy 2 5 8 into your m file. If you want to copy it ...

5 days ago | 0

Answered
How to solve this structural question using MATLAB?
x = 0:2 ; A = @(x) [-1 0 -1 0 0 0 0 0 0; 0 1 0 -1 0 0 0 0 0; 0 x-2 1 2-x 0 0 0 0 0; 1 0 1 0 1 0 ...

5 days ago | 0

Answered
Could anyone help me to overcome the error in the following code
C = A[] ; The above is invalid....If A is a array specify the index like A(1) etc..or if A is a cell use A{1} like this.

5 days ago | 0

| accepted

Answered
How can I get the X value of the red stars on my graph after interpolation? And could I have the values be put on the graph?
x=[4.75,2,.85,.389,.15,.075,0]; y=[92.09,40.61,17.2,4.78,1.29,.72,0]; plot(x,y); grid on; semilogx(x,y); xlabel(...

5 days ago | 0

Load more