User Portlet
Discussions |
---|
One of the most important parts of the documentation in Mathematica is the "See Also" (either the drop down menu at the top of the help window or the list at the bottom). If you go to a function that is close, you will likely find what you need... |
Bogdan, I have two suggestions: First, If your goal is to simulate and explore the dynamics and control of an inverted N link pendulum, it is significantly easier if you use Wolfram System Modeler (either from within Mathematica or using it... |
Something like this? In[28]:= vars = Table[Symbol["dddd" ToString[i]], {i, 1, 10}] Out[28]= {dddd1, dddd2, dddd3, dddd4, dddd5, dddd6, dddd7, dddd8, \ dddd9, dddd10} In[29]:= values = Table[i*3, {i, 1, 10}] ... |
Maher, Another excellent example! Can you also show how to design the controller when there is measurement noise? I was always confused by whether to use KalmanEstimator[] or LQGRegulator[] and how to use the result in Mathematica to make a... |
Gustavo, This should do the trick. Create a string in CSV format and write the string to the file: Export["output.csv", data1]; str = OpenAppend["output.csv"]; WriteString[str, ExportString[data2, "CSV"]]; Close[str]; ... |
This is what I had in mind. Obviously you need to decide what should be replaced: In[5]:= sorted = Sort[myints] Out[5]= {8, 11, 28, 36, 44, 66, 94} In[6]:= difs = Differences[Sort[myints]] Out[6]= {3, 17, 8,... |
or you can do Map[#[[2]]["Uncertainty"] &, data] which maps a function that extracts uncertainty over the list. Regards |
Frank, The reason Solve fails is that you have more variables in the equations than you told Solve about. This works (by adding res to the list of variables): Solve[{res == b/a, a == 9^k, b == 15^k, a + 2 b == 25^k, a > 0, b > 0},... |
Hans, You are correct. I misread the OP. Sorry. Thanks for catching that. Regards |
Ehud, We do the same thing that Rohit suggests for our packages. You can execute his line of code or change the setting in Options Inspector in the Format menu. We also use GIT to manage revisions. We include the generated m files and the... |