Feeds
提问
Colorbar with a range taken from a variable
Hello, I have a matrix organized in this way: M= col1, col2.... col10 col1 and col2 are the x and y position of the data, col...
21 days 前 | 2 个回答 | 0
2
个回答已回答
variable number of if condition
Thanks to all of you guys, for advices and criticism, I appreciate them all. I will check the documentation for the discretize ...
variable number of if condition
Thanks to all of you guys, for advices and criticism, I appreciate them all. I will check the documentation for the discretize ...
2 years 前 | 0
提问
variable number of if condition
Hello, I have a set of data (two columns, first is x and second is y) and in a for loop I am analyzing them doing different t...
2 years 前 | 3 个回答 | 0
3
个回答提问
ode23t and symplectic Stormer-Verlet integration
I have red in an answer related to simulation of particle motion in magnetic fields that the only ode solver ensuring energy con...
12 years 前 | 0 个回答 | 0
0
个回答提问
Modulation transfer function (MTF)
Hi, I'm going to evaluate the MTF of an imaging system. I have a MatLab code and it works fine and my question is not related...
12 years 前 | 1 个回答 | 0
1
个回答提问
Help with ion beam with many charge states
I'm simulating an ion beam with different charge states passing through two pinholes. I'm using random angles, from an external...
12 years 前 | 0 个回答 | 0
0
个回答已回答
Montecarlo method for particle simulation
My beam is moving along z axis for i=1:n K_ion=normrnd(Ein,Ein/10); %energy distribution ...
Montecarlo method for particle simulation
My beam is moving along z axis for i=1:n K_ion=normrnd(Ein,Ein/10); %energy distribution ...
12 years 前 | 0
已回答
Montecarlo method for particle simulation
I think I'm making the whole thing too complicate... I give an initial energy Ein and n=1000 particles. the for loop is: ...
Montecarlo method for particle simulation
I think I'm making the whole thing too complicate... I give an initial energy Ein and n=1000 particles. the for loop is: ...
12 years 前 | 0
已回答
Montecarlo method for particle simulation
I was thinking to do something similar. My concern is that I have two pinholes (the second one is 10cm further) Do I need to so...
Montecarlo method for particle simulation
I was thinking to do something similar. My concern is that I have two pinholes (the second one is 10cm further) Do I need to so...
12 years 前 | 0
提问
Montecarlo method for particle simulation
Hi all, I have to simulate a number of particle with a initial random velocity along z axis emitted by a point source and dis...
12 years 前 | 4 个回答 | 0
4
个回答已回答
Motion of Particle in a spatially varying electromagnetic field
I have found what was wrong in my code, it is able to track a particle all the way long from the source to the detector and insi...
Motion of Particle in a spatially varying electromagnetic field
I have found what was wrong in my code, it is able to track a particle all the way long from the source to the detector and insi...
12 years 前 | 0
提问
Motion of Particle in a spatially varying electromagnetic field
I have to simulate the motion of particle in an electromagnetic device which deflects particle using electric and magnetic field...
12 years 前 | 1 个回答 | 0
1
个回答提问
second order differential equation with variable coefficient
Hi, As wrote in a previous question I have to solve the equation: d^2x/dt^2= (q/m)(E/v^2) I have wrote the following code...
12 years 前 | 0 个回答 | 0
0
个回答提问
Differential equation.
I have to solve two differential equation and I have used the following code: inits='y(0)=0, Dy(0)=0, x(0)=0, Dx(0)=0'; ...
12 years 前 | 0 个回答 | 0
0
个回答提问
Particle motion in electromagnetic field
I have to write a MATLAB script to simulate the motion of particle in a spectrometer using the differential equations of motion....
12 years 前 | 2 个回答 | 0
2
个回答已回答
Use pixel informations to create a grid on images
I managed to improve the graphic aspect, now I was wondering if it is possible to make the grid with rounded shape and a fixed r...
Use pixel informations to create a grid on images
I managed to improve the graphic aspect, now I was wondering if it is possible to make the grid with rounded shape and a fixed r...
12 years 前 | 0
已回答
Use pixel informations to create a grid on images
I managed to get the central pixel coordinates [X0,Y0] (using ginput) and the distance between two points (using imdistline). I...
Use pixel informations to create a grid on images
I managed to get the central pixel coordinates [X0,Y0] (using ginput) and the distance between two points (using imdistline). I...
12 years 前 | 0
已回答
Problem with a plot
I tried with this code, but nothing change, whati is wrong? set(gca,'Box','off'); axesUnits=get(gca,'Units'); axesPosit...
Problem with a plot
I tried with this code, but nothing change, whati is wrong? set(gca,'Box','off'); axesUnits=get(gca,'Units'); axesPosit...
12 years 前 | 0
已回答
Problem with a plot
The code I used for plotting data is: figure(1) hplot = plot(.... ) xlabel(gca, 'Deflessione magnetica [m]'); % label l...
Problem with a plot
The code I used for plotting data is: figure(1) hplot = plot(.... ) xlabel(gca, 'Deflessione magnetica [m]'); % label l...
12 years 前 | 0
提问
Use pixel informations to create a grid on images
Hi, I have an picture of graph paper I have to use as a reference. To be clear I have to use the grid as calibration for an ...
12 years 前 | 3 个回答 | 0
3
个回答提问
Problem with a plot
Hi all, I'm working on a simulation for some misurement with a Thomson spectrometer and I'm having some issue with the plot l...
12 years 前 | 4 个回答 | 0