Community Profile

# KSSV

Last seen: Today Active since 2011

Programming Languages:
Python, MATLAB, Fortran
Spoken Languages:
English, Hindi, Telugu
Professional Interests:

All

#### Content Feed

View by

How to interpolate the data inside the polygon?

17 hours ago | 0

Unable to perform assignment because the left and right sides have a different number of elements.
Check the result or size of: (kads_A*(K_bedA^n) - w_bedA_const*w_bedA/wm)*wm It seems, the above is not a scalar or a single n...

4 days ago | 1

need help creating a loop URGENT
for x = 0:0.1:5 if x>=3.3 disp('signal recevied soil is dry time to water') writeDigitalPin(a,'D2',1);pause(0.2);writeDig...

4 days ago | 0

Error in using reshape
The error is simple....you are trying to reshape more number of elements than present in the matrix. EXample: A = rand(9,1) ;...

4 days ago | 0

divide row and plot it
data=[1 2 3 1 2 3; 7 8 9 10 11 12] ; data = reshape(data,2,3,[]) ; figure hold on for i = 1:2 plot(data(1,:,i),data(2,:...

4 days ago | 0

| accepted

smooth contour lines in a slice

5 days ago | 0

how to count the number of scatter points in a each sector region of the 6 concentric circles ?
Let (x,y) be your scattered points. C = [mean(x) mean(y)] ; % center of circle. This would be (0,0) R = 200 ; % RAdius of ...

5 days ago | 0

Show only two y values in a plot
tol = 10^-3 ; % fix your tolerance idx = abs(wavelength-0.02)<=tol | abs(wavelength-0.04)<=tol ; plot(time(idx),wavelength(...

7 days ago | 0

How to identify negative slope from plot data?
t = linspace(0,2*pi) ; y = sin(t) ; m = [0 diff(y)./diff(t)] ; plot(t,y) ; hold on plot(t(m<0),y(m<0),'+r') plot(t(m...

8 days ago | 0

How to replace 0 value with 3 in Matlab
c5 = Dataset(:,5) ; % Find the number of 0, 1, 2 idx = c5 == 0 | c5 == 1 | c5 == 2 ; % gives logical indices nnz(idx) ...

8 days ago | 0

How to multiply each term in a n*n matrix with elements in a column matrix
A=[ 0.34005, 1.15985, -1.42862; 0.45204, -0.12963, -0.07851; 0.18586, -0.49792, 0.56187; 0.20188, 0.19786, -0.54699] ; B=[0; 0;...

8 days ago | 0

I want help solving differential equations
syms x y(x); eqn = diff(y,x)==exp(x)/(2*y) sol = dsolve(eqn)

9 days ago | 0

| accepted

Which approach is useful here to get a plot?
Check and then use. I have quickly typed it without much thought. n1 = linspace(0,1) ; n2 = linspace(0,1) ; n = cat(3,n1,n2...

9 days ago | 0

| accepted

image storage with index type 0000
for i = 1:10 name = ['ortophoto_',sprintf('%.4d',i),'.bmp'] end

9 days ago | 0

How do I make my circle display in pink and background in white color?
[m,n] = deal(500) ; % side of image I = ones(m,n,3) ; % initialize image with white background % GEt cirlce on the image...

12 days ago | 0

| accepted

Can anyone explain this step:? Contour function
[X,Y,Z] = peaks(50) ; c = contour(X,Y,Z) ; hold on plot(c(1,:),c(2,:),'*r') axis([-3 3 -3 3]) It gives you the (x,y) coord...

14 days ago | 0

How to extract multiple location data from a netCDF file
To know the variables in ncfile use ncdisp, ncinfo. To load variables from nc to matlab use ncread. To load data from excel ...

14 days ago | 0

how to solve error using horzcat dimensions of array being concatenated are not consistent
% running function_simulasi clear clc x0 = 0.02; %g/L tspan = (0:2:80); [t, x]=ode23('function_simulasi',tspan,x0); plot(t...

15 days ago | 0

Generate inner values of y for each x based on n
clc; clear all ; clear all clc n = 4; % number of divisions on the boundary x1 = linspace(0,2,n); y1_x1 = sqrt(1-( (x1.^2)/...

15 days ago | 0

| accepted

Help for engineering equations
The logic sounds simple. LHS (theta) can be any physical property like critical temperature, critical pressure, boiling point te...

16 days ago | 1

| accepted

How will change the scale value in the figure?

18 days ago | 0

| accepted

Make 3 dimensional matrix
[r,c] = size(val); nlay = 10 ; iwant = permute(reshape(val',[c,r/nlay,nlay]),[2,1,3]);

18 days ago | 0

I wanna make a .mat file
A = rand(10) ; str = 'The above is matrix' ; save test.mat ; % save A, str into mat file load test.mat ; % load the mat file...

18 days ago | 0

Basic 'for loop' problem: it stops after several iterations
I don't know why you are doing this, but the elow should work. c = zeros(11); for a = 0:0.1:1 b = 10*a + 1; c (1, f...

18 days ago | 0

Convert table into 2D matrix

18 days ago | 0

How can I read my jpeg file in matlab as .mat file

19 days ago | 0

| accepted

How to create a chloropleth map using the mean of the shapefiles sub-fields from a raster file?

19 days ago | 0

how to Solve the ordinary differential equation (ODE) in matlab? dx/dt=5x−3
syms x(t) eqn = diff(x,t)==5*x-3; s = dsolve(eqn)

20 days ago | 1

Matlab Array indixing error
In MATLAB the indices should be posittive integers or logicals. If not it will throw the error which you have shown. % EXample ...

21 days ago | 1

| accepted