Statistiques
26 Questions
0 Réponses
RANG
24 001
of 293 466
RÉPUTATION
1
CONTRIBUTIONS
26 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
76.92%
VOTES REÇUS
1
RANG
of 20 030
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 148 733
CONTRIBUTIONS
0 Problèmes
0 Solutions
SCORE
0
NOMBRE DE BADGES
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
insert 0 in the each 3N location
I have matrix A that has something like this A = [ 1 2 .5 .6 -.7 .9, so on] Now I want A to fill with zero at location 3...
environ 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Storing 2 values in one location of matrix with a space
Hi everyone, I want to store 2 values in one location of matrix with a space between them. For example: A = [ 1; 2;...
environ 8 ans il y a | 1 réponse | 0
1
réponseQuestion
export numeric array to ASCII file using save
Hi everyone I want to export matlab data ASCII file. I used save my_data.out A -ASCII and it worked fine. Note that my_data.o...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
plot spheres in 3D with one color (no gradient)
Hi everyone I want to plot spheres in 3 D with one color (no gradient). I used surf function as shown below, where a is radiu...
plus de 8 ans il y a | 1 réponse | 0
1
réponseQuestion
Look at particle on the x-y plane instead of 3-D
Hi anyone, I have a cubic box with 512 spherical particles in three-dimensional space. The particles are random distributed ...
presque 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Flip the component of column matrix
I have a column matrix such as A= [ 12 13 14 .. 22 23 .. 33 34 ...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
Combine 2 column matrix into 1 column matrix
I have a matrix A which contains x components, Note that A have multiple rows and columns. Let's say A=[ 1 ...
plus de 9 ans il y a | 1 réponse | 0
1
réponseQuestion
align the random number in straight line that will restrict in the box dimension
N=40; phi=0.6; % Dimension of the box L=15; % Diameter of particles d=sqrt(4*phi*L^2/(pi*N)); a=d/2; % P...
plus de 10 ans il y a | 1 réponse | 0
1
réponse1
réponseQuestion
How to plot a video along with a figure in the same frame.
I have a video and the data to obtain the plot. I want to have the video and the plot in the same frame so I can see both (movie...
plus de 10 ans il y a | 1 réponse | 1
1
réponseQuestion
Put 3 columns of two matrix in 1 row matrix
I have matrix X and Y with dimension of 100 x 3 X= [ x1 x2 x3; x4 x5 x6; etc]; Y=[ y1 y2 y3; y4 y5 y6; etc]; Now I want...
presque 11 ans il y a | 4 réponses | 0
4
réponsesQuestion
Put Two matrix into 1 column matrix
Hi Everyone, I have matrix X that has dimension of 100 x 3 and the same with matrix Y X=[ x1 x2 x3; x1_1 x2_2 x3_3, etc...
presque 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Want to make linear fitting and plot both graph on the same curve
I have x, y data x=[0;0.100000000000000;0.200000000000000;0.300000000000000;0.400000000000000;0.500000000000000;0.600000000...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Want to fit linear curve on my data.
I have x, y data x=[0;0.100000000000000;0.200000000000000;0.300000000000000;0.400000000000000;0.500000000000000;0.600000000...
plus de 11 ans il y a | 2 réponses | 0
2
réponsesQuestion
I tried to solve this system of ODE and it took so long to give me results.
function [xprime] = CRungeKutta1(t,x) r=sqrt(x(1)^2+x(2)^2); while (2<r & r<=2.01) A=(16.3096-7.1548*r)/r; L=...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
What did i do wrong in this code when i calculate the average of all the run
I run 9 sets of data and try to take the average of 9 sets. I calculate the mean but it shows the mean equals to the last set ...
plus de 11 ans il y a | 1 réponse | 0
1
réponseQuestion
Matlab does not give the right answer
I have a code to load the files in the folder with filename_2,
plus de 11 ans il y a | 3 réponses | 0
3
réponsesQuestion
Put two columns matrix into 1 row matrix
I have 2 file such as file1 and file2 file1 contains 52x1 matrix such as x1 x2 etc file 2 contains 52 x1 ma...
presque 12 ans il y a | 2 réponses | 0
2
réponsesQuestion
Why my matlab code cant load the directory that i wanted it to load instead read the weird file and say no directory
pdir='/Users/Phong/Desktop/RK4/' load this nameS=strcat(pdir,'InitCond30/','InitCond30_',int2str(run)) ...
presque 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Dimension mismatch for using Runge Kutta 4 order methods
No longer available
environ 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Define the ODE equals the matrix. Runge Kutta 4
I have velocity vector in matrix form [ 1, 2, 3,4 ]; Velocity is dx/dt 1) first matlab function f = func(t,x) f= [1,...
environ 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Return the final x for different t
I tried to create Runge Kutta 4 order method with 2 matlab files: 1) function [fv]=evalfunc(t,x) fv=4.0*exp(0.8*t)-x/2.0;...
environ 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Where to buy Student Version of Matlab with 99 dollar
I am looking for Student version of Matlab with 99 dollar. I look on the site but i dont see anywhere with that price. I clicked...
plus de 12 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to write the loop to collect data every step I want
I have M-file with dt = .1,dt= .01,dt=.001 I want to have the data is collected every 1 step for dt =.1, every 10 steps fro dt=...
plus de 12 ans il y a | 1 réponse | 0
1
réponseQuestion
Write a loop that can generate all data in one M-file with one variable change
dt= a variable that is going to change. % loop q= 0 for i = 0:dt:10 q=q+1 for a= 1:3 for b = 1:3 ...
plus de 12 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to keep all runs in one file or save it somewhere else to plot it later
I have to run 5 samples at different step time and plot h vs t example : steptime = 1 for the first run for i = 0:stept...
plus de 12 ans il y a | 1 réponse | 0