photo

Jim Riggs


Missile Defense Agency - Advanced Technology Group

Last seen: 13일 전 2017년부터 활동

Followers: 0   Following: 0

메시지

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

통계학

All
  • Thankful Level 3
  • Knowledgeable Level 5
  • Thankful Level 2
  • 36 Month Streak
  • Pro
  • Revival Level 2
  • Solver
  • First Answer

배지 보기

Feeds

보기 기준

질문


MATLAB coder has been running for a week
I started running the MATLAB coder to convert a function to a MEX function a week ago. (At this point, it has been running 166 ...

2개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to increment a value every second with periodic resets to zero in Simulink?
Check out this discussion and see if it helps: Simulink counter block having an initial starting value of -1 - MATLAB Answers -...

3개월 전 | 0

질문


MEX -setup does not see my compiler
I am running R2017a and have a working installation of MS Visual Studio with Visual C++ 2019 on my system. The MATLAB command ...

8개월 전 | 답변 수: 1 | 0

1

답변

질문


How to interpret tocBytes results
I am currently running on R2019b, but when I attempt to start parpool using the 'threads' option, it tells me that 'threads' is ...

11개월 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to check if my current license support the State flow toolbox?
The 'ver' command shows all of the toolboxes which are available under the current MATLAB license, but this does not not mean th...

대략 1년 전 | 0

답변 있음
Confusion with tic-toc and run times
You might consider commenting out the "tic" command inside the for loop. This will make all of the "times" values relative to ...

대략 1년 전 | 1

| 수락됨

답변 있음
Get current simulation step (or time) in Simulink
It looks like what you want is a simple counter. Try this: You don't need to use a time generator and a multiply (and floor)...

대략 1년 전 | 1

질문


'String scalar or character vector must have valid interpreter syntax' in waitbar
I am creating a waitbar where the text includes the path to the file being processed. The path name, ovbiously includes a backs...

대략 1년 전 | 답변 수: 2 | 0

2

답변

답변 있음
Attempting to perform the Runge-Kutta-Fehlberg Algorithm
I found the error indicated below. Note that your notation makes your code much harder to verify because you have separated th...

1년 초과 전 | 0

답변 있음
Simulation of UAV trajectory results in discontinuity in measurements
The discontinuities that you see in the trajectory data are, in fact, realistic, and correspond to command inputs. These happen...

1년 초과 전 | 0

답변 있음
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...

1년 초과 전 | 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...

1년 초과 전 | 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...

1년 초과 전 | 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 % ... ...

1년 초과 전 | 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...

1년 초과 전 | 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...

1년 초과 전 | 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])...

1년 초과 전 | 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...

1년 초과 전 | 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'], ...

1년 초과 전 | 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...

1년 초과 전 | 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...

1년 초과 전 | 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...

1년 초과 전 | 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);

1년 초과 전 | 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 ...

1년 초과 전 | 2

| 수락됨

답변 있음
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...

1년 초과 전 | 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...

1년 초과 전 | 2

답변 있음
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...

1년 초과 전 | 0

| 수락됨

답변 있음
draw rod shape trajectory
You might want to give this a try: Plot3 Shaded Line

1년 초과 전 | 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.

1년 초과 전 | 0

더 보기