Community Profile

photo

KSSV


Last seen: Today

8 129 total contributions since 2011

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

Contact

KSSV's Badges

  • 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 details...

Contributions in
View by

Answered
Operands on table, comparison with numbers
You have to access the columns of Table T using T.(1), T.(2) etc, Read about accessing the columns from tatble. If you have na...

ungefär en timme ago | 1

Answered
how to plot tangent of y=x^(1/2) at a point x=4 on MATLAB?
It is a MATHS question. You should know the steps of how to follow. Refer it here: https://intl.siyavula.com/read/maths/grade-...

ungefär 2 timmar ago | 0

Answered
Extracting certain rows from matrix
Read about ismember.

ungefär 4 timmar ago | 0

Answered
How to call n numbers from a Matrix
watlevel=[1.8; 1.5; 1.2; 1.3; 1.4; 1.6; 1.7; 1.4; 1.1; 0.9; 0.2; 0.2]; %incoming water level time=[0; 3; 6; 9; 12; 15; 18; 2...

ungefär 7 timmar ago | 0

Answered
How to know which plot is more linear then the other?
How about finding the area bounded by the curves..which ever has least area is straight. A = [0 0.423891532 0.819380304 1.2...

ungefär 7 timmar ago | 0

Answered
Matrix "User Define"
What you gave is a combination of numbers and strings.....this cannot be acieved by a matrix. But you can use cell arrays for th...

ungefär 8 timmar ago | 0

Answered
Solve the equation for x
Repalce exp.^() with smply: exp() Also element by element operation not reuqired: fun = p* exp(-exp((v-x)/a)) + r* exp(-((...

en dag ago | 2

| accepted

Answered
How to get X and Y coordinates from a Sparse Matrix?
If A is your sparse matrices. You can get positions using: [y,x] = find(A) ; % x, y are the positons/indices of non-zeros ...

en dag ago | 0

| accepted

Answered
Index exceeds the number of array elements (1).
The error is clear...you are trying to extract more number of elements than present int he array. A = rand(1,10) ; A(1) %...

en dag ago | 0

Answered
Plot exactly root of polynomial degree=3
p = [1 -1 0 -10] ; % polynomial coefficients r = roots(p) ; % get roots %% plot x = linspace(0,10); y = polyval(p...

en dag ago | 0

Answered
How to vectorize matrix assignment process below
Read about sub2ind. Convert your sub indices into global indices and use. idx = sub2ind(size(A),2*i-1,2*i-1) ; A(idx) = a(i) ...

en dag ago | 1

| accepted

Answered
How to calculate the value of the vector A in equation AXA' = b?
syms x y A = [x y] ; X = rand(2) ; b = rand ; eqn1 = A*X*X'- b ==0 s = solve(eqn1,x,y) ; x = double(s.x) y = double...

en dag ago | 0

| accepted

Answered
Generating 2D Geometry with MATLAB and Exporting to FEM software
Yes it is very much possible.. but you need to enter the details of FEA/ FEM mesh in the format which software demands. Already ...

en dag ago | 0

Answered
need help with writing a script that will solve the problem here is what i started with
Hints: x = linspace(0,1,100); y = linspace(0,1,100) ; [X,Y] = meshgrid(x,y) ; Z = X.^2+Y.^2 ; surf(X,Y,Z) shading interp ...

en dag ago | 1

Answered
How can I read multiple mat files and perform ttest2 function?
This question has been discussed to death. A simple search will give you lot of links. matFiles = dir('*.mat') ; N = length(...

2 dagar ago | 0

Answered
how do i write a matlab script to sum this expression?
N = 100; thesum = 0 ; for i = 1:N thesum = thesum+(1/i+1/((i+2)*(i+3))) ; end Without Loop: N = 100 ; f = @(i) (1....

2 dagar ago | 1

| accepted

Answered
how to find argmin to this vector
Are you looking for something like this? Let a,b be your column matrices. [a,b] = meshgrid(a,b) ; % make them a matrix F ...

2 dagar ago | 0

Answered
How to Swap Column according to odd/even numbers?
This is basic in MATLAB. You should read about indexing an array. Example: A = rand(10,1) ; % array for demo E = A(2:2:end...

2 dagar ago | 0

Answered
How to get the Z-contour values related to scatter positions?
Read about ScatteredInterpolant.

2 dagar ago | 0

Answered
Given that a=[1;4.2;3;pi;8;7;62;50;23;17]; Please use vector b to represent all the even elements in vector a (b=[8;62;50])?
Use mod to get your even numbers. a = [1; 4.2; 3; pi; 8; 7; 62; 50; 23; 17]; idx = mod(a,2) ; iwant = a(idx==0)

2 dagar ago | 0

Answered
Can anyone tell what is this line doing
f = [1 2 4]; % this is an array can be access by f(i) where i = 1,2,3 d = {[4 2 1] [4 1 2] [4 3 5]}; % this is a cell array,...

3 dagar ago | 0

Answered
How to obtain a group of pixels on an image
If I is an image, you can use: iwant = I(1:5:end,1:5:end,:) ;

3 dagar ago | 0

Answered
Plotting a kind of tree
x1 = -22.5; x2 = -37.5 ; y1 = 0; y2 = 15; x = [x1, x2, x2, x1, x1]; y = [y1, y1, y2, y2, y1]; xC = 30; yC = -30; xR = ...

4 dagar ago | 2

Answered
Receiving x and y coordinates of an image.
I = imread("image.jpeg") ; [y,x] = find(I~=255) ; coor = [x y] ;

4 dagar ago | 0

| accepted

Answered
Unable to perform assignment because the left and right sides have a different number of elements.
The error is clear; when you try to save more number of elements in an array which initiliazed with less number. Example: A ...

4 dagar ago | 1

| accepted

Answered
loops and divisions by 7 and calling function
function [whatsLeft, divisionCount] = divideBySeven (number) % Enter the code for your function here. while number <1 ...

4 dagar ago | 0

| accepted

Answered
Sign Changes (conditional through vector elements)
Refer here: https://de.mathworks.com/matlabcentral/answers/231803-how-to-determine-sign-change-in-a-matrix-for-each-coulmn-sep...

4 dagar ago | 0

| accepted

Answered
Need help finding coordinates of an image.
The image will be plotted wrt it's indices. If I is your image. [m,n,p] = size(I) ; x = 1:n ; y = 1:m ; [X,Y] = meshgrid(x,...

4 dagar ago | 1

| accepted

Answered
Creating an 8x8 matrix using loops
Hints: 1. You can generate the number array using ':'. If I want numbers from 1 to 36. I will use l = 1:36 ; 2. Once numebrs...

4 dagar ago | 0

Answered
Shortening run time to compute function
This function: function matrix=function1(n) matrix=zeros(n); for i=1:n for j=1:n matrix(i,j)=sqrt(2/n)*si...

4 dagar ago | 0

Load more