photo

sneha kriplani


Aktiv seit 2015

Followers: 0   Following: 0

Statistik

  • Thankful Level 1

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


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

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


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

etwa 9 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


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

etwa 9 Jahre vor | 0 Antworten | 0

0

Antworten