photo

sneha kriplani


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


when we run the code, a plot comes out and if i want to calculate the X and y coordinate of center of each grid box , how to do that ?
xyRange=[1,5]; %// Starting xy range of particles P=3; %// Number of particles generated each day vx=0.6; v...

9 years ago | 0 answers | 0

0

answers

Question


Error using str2num (line 32), Requires string or character array input. Error in xGridMarkers = str2num(get(gca,'XTicklabel')); how to remove this error??
xyRange=[1,5]; %// Starting xy range of particles P=3; %// Number of particles generated each day vx=0...

9 years ago | 1 answer | 0

1

answer

Question


how to turn off scientific notations in figure ??? likein mine i'm getting 3+e02 i want it 300 only
rather than having 3e+04 how to get 30000

9 years ago | 1 answer | 0

1

answer

Question


how can i count number of particles in each grid box after running this code ??
xyRange=[1,5]; %// Starting xy range of particles P=3; %// Number of particles generated each day vx=0....

9 years ago | 1 answer | 0

1

answer

Question


how do i remove this error? Function definitions are not permitted in this context.
xyRange=[1,5]; %// Starting xy range of particles numP=3; %// Number of particles generated each day vx...

9 years ago | 2 answers | 0

2

answers

Question


how can i use for loop for the given situation
X=randi([1,5],3,1); Y=randi([1,5],3,1); for i=1:3; Xnew(i)=[X(i,1)+.6];Xn=Xnew'; Ynew(i)=[Y(i,1)+.4];Yn=Yn...

9 years ago | 0 answers | 0

0

answers