
Jim Riggs
Missile Defense Agency - Advanced Technology Group
Developing simulations for the Missile Defense Agency - Advanced Technology group. 30+ years experience in missiles, smart munitions and other aerodynamic systems.
Programming Languages:
Python, C++, C, MATLAB, Fortran
Python, C++, C, MATLAB, Fortran
Statistics
All
Content Feed
回答済み
Error using plot Vectors must be the same length. [line 29 ERROR]
The two arguments to the 'plot' command must be the same size, e.g. 'liquidmoleFractionA' must have the same length as 'T'. A g...
Error using plot Vectors must be the same length. [line 29 ERROR]
The two arguments to the 'plot' command must be the same size, e.g. 'liquidmoleFractionA' must have the same length as 'T'. A g...
8日 前 | 0
回答済み
Seconds, minutes or hours for year-long SIMULINK simulation?
There is a great risk of somthing going wrong if you use anything other than seconds in a physics model, since, as you pointed o...
Seconds, minutes or hours for year-long SIMULINK simulation?
There is a great risk of somthing going wrong if you use anything other than seconds in a physics model, since, as you pointed o...
約2ヶ月 前 | 1
| 採用済み
回答済み
How to initialise Goto variables used in enabled subsystems
You should not need to "initialize" the Goto variables. The "Goto / from" blocks are simply a way to connect a signal without s...
How to initialise Goto variables used in enabled subsystems
You should not need to "initialize" the Goto variables. The "Goto / from" blocks are simply a way to connect a signal without s...
2ヶ月 前 | 0
| 採用済み
回答済み
I need help writing a function with one input and one output
The syntax for defining a function is: function steps_made_sucessfully = walk(commanded_steps) % insert your code here % ... ...
I need help writing a function with one input and one output
The syntax for defining a function is: function steps_made_sucessfully = walk(commanded_steps) % insert your code here % ... ...
2ヶ月 前 | 0
回答済み
Generate look angles between aircraft and satellite
I don't think that you will find this exact problem solution in the Aerospace toolbox, but it does contain some functions that y...
Generate look angles between aircraft and satellite
I don't think that you will find this exact problem solution in the Aerospace toolbox, but it does contain some functions that y...
3ヶ月 前 | 0
回答済み
Simulink generate input at begining of simulations
I am not sure that I understand your specific question (i.e. the implementation you are describing). The way it sounds to me, y...
Simulink generate input at begining of simulations
I am not sure that I understand your specific question (i.e. the implementation you are describing). The way it sounds to me, y...
3ヶ月 前 | 0
回答済み
Not able to Understand Code for "Volume of Solid by Revolution"
[X,Y,Z] = cylinder(fx(xivals)-yr,100); Creates a set of 3D points that define a cylinder figure('Position',[700 200 560 420])...
Not able to Understand Code for "Volume of Solid by Revolution"
[X,Y,Z] = cylinder(fx(xivals)-yr,100); Creates a set of 3D points that define a cylinder figure('Position',[700 200 560 420])...
3ヶ月 前 | 0
| 採用済み
回答済み
Why should I use operation blocks instead of a quicker function block in simulink?
You might want to check out this documentation on Comparison of Custom Block Functionality. It references some limitations on M...
Why should I use operation blocks instead of a quicker function block in simulink?
You might want to check out this documentation on Comparison of Custom Block Functionality. It references some limitations on M...
3ヶ月 前 | 0
回答済み
How to save a data in another folder?
I like to define a string defining the work folder; e.g. workfolder = 'C:/user/JR/projectName/' save([workfolder 's1.mat'], ...
How to save a data in another folder?
I like to define a string defining the work folder; e.g. workfolder = 'C:/user/JR/projectName/' save([workfolder 's1.mat'], ...
3ヶ月 前 | 0
| 採用済み
回答済み
How to run a for loop one at a time with each button click?
At the end of your "for" loop, add a "while" loop that looks for the button value. if i < 3 (you don't want it to pause the l...
How to run a for loop one at a time with each button click?
At the end of your "for" loop, add a "while" loop that looks for the button value. if i < 3 (you don't want it to pause the l...
3ヶ月 前 | 0
回答済み
How can I access both data and time from the running simulink model and use it in a particular program?
Simulink has a "to workspace" block which saves the time history of the model data to the Matlab workspace in a variable that yo...
How can I access both data and time from the running simulink model and use it in a particular program?
Simulink has a "to workspace" block which saves the time history of the model data to the Matlab workspace in a variable that yo...
3ヶ月 前 | 0
回答済み
How to create a loop with unknown number of iterations?
What you are describing sounds like a "while" loop. You specify a logical condition which will terminate the loop i=0; condit...
How to create a loop with unknown number of iterations?
What you are describing sounds like a "while" loop. You specify a logical condition which will terminate the loop i=0; condit...
3ヶ月 前 | 0
回答済み
How can I plot two functions in the same graph?
Try this: fplot(@(x) cosh(x)); hold on fplot(@(x) 0.6671x^3-1.7921x^2+2.7580x-0.089);
How can I plot two functions in the same graph?
Try this: fplot(@(x) cosh(x)); hold on fplot(@(x) 0.6671x^3-1.7921x^2+2.7580x-0.089);
3ヶ月 前 | 0
回答済み
Transformation matrix between two cartesian systems
Coordinate rotation (or transformation) involves expressing the coordinates of a point defined in one reference frame in terms ...
Transformation matrix between two cartesian systems
Coordinate rotation (or transformation) involves expressing the coordinates of a point defined in one reference frame in terms ...
3ヶ月 前 | 1
| 採用済み
回答済み
Issue with doing FM on SIMULINK
1) The error is generated because the integration block is a continuous block, and you have specified a discrete solver. Change...
Issue with doing FM on SIMULINK
1) The error is generated because the integration block is a continuous block, and you have specified a discrete solver. Change...
3ヶ月 前 | 0
| 採用済み
回答済み
Constant block doesn't accept array
Yes, you can save the value to the workspace and reference it in a constant block. As @Paul points out, the label on the Goto b...
Constant block doesn't accept array
Yes, you can save the value to the workspace and reference it in a constant block. As @Paul points out, the label on the Goto b...
3ヶ月 前 | 1
回答済み
How to add x and y variables to individual values after creating a heatmap.
You can modify the axis properties after creating the plot: ax = gca; % get the curent axis handle ax.XTickLabel = {'Jan','Fe...
How to add x and y variables to individual values after creating a heatmap.
You can modify the axis properties after creating the plot: ax = gca; % get the curent axis handle ax.XTickLabel = {'Jan','Fe...
3ヶ月 前 | 0
| 採用済み
回答済み
How to change my Simulink Scope output at workspace from 1x1x284 double to 284x1 double.
Try using the "reshape" command. There is also a reshape block in Simulink.
How to change my Simulink Scope output at workspace from 1x1x284 double to 284x1 double.
Try using the "reshape" command. There is also a reshape block in Simulink.
3ヶ月 前 | 0
回答済み
For-loop using only last iteration
Inside the loop C = zeros(1,10) + A; the function "zeros(1,10)" is assigning zeros to the entire C vector, then adding A. Als...
For-loop using only last iteration
Inside the loop C = zeros(1,10) + A; the function "zeros(1,10)" is assigning zeros to the entire C vector, then adding A. Als...
3ヶ月 前 | 0
回答済み
How can i merge the signals from the sensors into 1 signal ?
The merge block is not used to combine signals - it is used to select one of two triggered signals. The two inputs are signals ...
How can i merge the signals from the sensors into 1 signal ?
The merge block is not used to combine signals - it is used to select one of two triggered signals. The two inputs are signals ...
3ヶ月 前 | 0
回答済み
Output for Accelerator Model
I think there is a misunderstanding. The way I read it, if you use a large number of inport and outport blocks (at the root lev...
Output for Accelerator Model
I think there is a misunderstanding. The way I read it, if you use a large number of inport and outport blocks (at the root lev...
3ヶ月 前 | 0
| 採用済み
回答済み
What kind of numerical method is used for the inverse kinematic block at simulink?
Here is a link to the Matlab documentation: Inverse Kinematics Algorithms
What kind of numerical method is used for the inverse kinematic block at simulink?
Here is a link to the Matlab documentation: Inverse Kinematics Algorithms
4ヶ月 前 | 0
| 採用済み
回答済み
Trying to plot array points on a graph.
You might also try this: [row,col] = size(AA); % AA is the data matrix figure; for ii=1:row for jj=1:col if ...
Trying to plot array points on a graph.
You might also try this: [row,col] = size(AA); % AA is the data matrix figure; for ii=1:row for jj=1:col if ...
4ヶ月 前 | 0
回答済み
How to connect the two signals in one signal in MATLAB Simulink? I mean first signal finishes second signal starts.
You description of the problem is confusing to me, bu the statement in the title "first signal finishes second signal starts" ...
How to connect the two signals in one signal in MATLAB Simulink? I mean first signal finishes second signal starts.
You description of the problem is confusing to me, bu the statement in the title "first signal finishes second signal starts" ...
約2年 前 | 0
回答済み
Numerical Integration in Matlab
There seem to be two problems: 1) your function "fun" returns "NaN" at zero, so you cannot integrate starting from zero. You n...
Numerical Integration in Matlab
There seem to be two problems: 1) your function "fun" returns "NaN" at zero, so you cannot integrate starting from zero. You n...
約2年 前 | 0
| 採用済み
回答済み
Simulink counter block having an initial starting value of -1
Yes, the two counter blocks in the library do not allow you to set the initial value. Whenever I need to use a counter, I usual...
Simulink counter block having an initial starting value of -1
Yes, the two counter blocks in the library do not allow you to set the initial value. Whenever I need to use a counter, I usual...
約2年 前 | 1
| 採用済み
回答済み
Finding the roots of an equation using Newton-Raphson method but I don't know the equation!
You use a numerical approximation for the derivative. Start at some initial guess for x & y. take a small step, and compute th...
Finding the roots of an equation using Newton-Raphson method but I don't know the equation!
You use a numerical approximation for the derivative. Start at some initial guess for x & y. take a small step, and compute th...
約2年 前 | 1