# Tag Info

## New answers tagged math-software

0

I'll throw my hat in the ring too. Maxima [1] has an add-on package ezunits which carries out various dimensional operations. Quantities can be symbolic (e.g. x meters per year) as well as numerical. The notation is, I hope, convenient: single left quote to indicate units, double left quote to indicate conversions. For the given example: load (ezunits); F : ...

0

If you want to leave column B blank when the matching entry in column A is greater than $0.0025$ you can write in $B2\ =if(A2 <= 0.0025,A2,"")$

0

SolveAlways[(-s^2 + 40 s + 50)/(s (s + 1) (s + 5)^2) == A/s + B/(s + 1) + (C*s + D)/(s + 5)^2, s]

1

Apart does what you need to get done but to make this example work you need == between the two expressions and get rid of the last "{s}". Addendum: 1 should be just solve without the Apart. 2 is wrong usage. 3 is incomplete and hence wrong. 4 is correct but it didn't give you what you expected because you setup incorrectly. Since you have $(s+5)^2$ in ...

2

Try Apart[]: Apart[(-s^2 + 40 s + 50)/(s (s + 1) (s + 5)^2)] 2/s - 9/(16 (1 + s)) - 35/(4 (5 + s)^2) - 23/(16 (5 + s))

0

You can use any drawing program. The common free one is InkScape. Non-free ones are Adobe Illustrator, Powerpoint, etc, etc. See this answer for some other suggestions.

3

That animation is custom-made in Flash, which is a perfect and full-blown tool to do 2D animations(and even games) like that but it has a quite heavy cost, even for the student license($\$19.99$per month or$\$199$ per year). GeoGebra is a free tool for drawing geometry, and it has capabilities for doing interaction, animations, and it has a beta for 3D ...

1

Regarding Matlab, I'd refer you to The Elements of MATLAB Style by Richard K. Johnson. This book is reviewed by Loren Shure on her MathWorks blog. Beyond the many tutorials available might also look at this post on Good MATLAB Coding Practices that links to several free PDF guides for users that have already learned the basics. You can browse a huge list of ...

0

For Matlab I prefer "Introduction to Matlab" by Ross Spencer and "Applied mathematical problems with Matlab" by D. Xue and Y. Chen (but the last book is with problems that need to be solved).

0

Matlab help is fantastic. Seriously,I've met three or four tools/products that had really good built-in help/documentation and Matlab was one of them. Basic programming and basic tasks are covered very well. Many toolboxes also have the same high-class documentation. I never felt that I need book when I was doing Matlab.

2

You do this by using combinat:-choose to choose the summation indices. P:= proc(A::Matrix, B::Matrix, i::posint) local j; add(A[2..-1, [j[], i+1..-1]].B[[j[], i+1..-1], 1..-2], j= combinat:-choose(i,i-1)) end proc;

0

plot3d(2-x-y, [x,1,2], [y,3,4])\$,(filled=true);

1

As Mike suggested either you can input your alpha level (nominal alpha) as .10 (2*.05) to get the one tailed p value or you can divide the given probability (actual alpha) by two. Both approaches do the same thing. Remember that taking all other things constant, the probability of recting a true null is easier for a one tailed test compared to the two tailed ...

1

In Matlab it's better to avoid loops. That way code runs faster and it's easier to write and read. In this case you can achieve your desired result in one line using cumsum: g1(cumsum(v1)) = 1; Note that Matlab automatically fills with zeros. That's why I don't need to initialize g1.

4

% Try the following % Tested on GNU Octave, but should work on Matlab v1 = [2,4] ; g1 = [] ; for k=1:1:length(v1) g1 = [g1 zeros(1,v1(1,k)-1) 1] ; end ;

1

You can do it in the following way : g1 = zeros([1 sum(v1)]) ; % this is as you said for i = 1:size(v1,2) temp = v1(1:i) ; g1(sum(temp)) = 1 ; % only index those numbers which you want to set 1 end

0

We can use VectorForm option in solve.

0

Have you tried asking our friend Google? Anyway, my search returns in the top five result this MATLAB script which looks fairly promising. If you need help programming something like this, I would suggest looking into programming help on ray tracing, since the mathematics of tracing a billiard trajectory is basically the same.

1

there is an OSX version of knotscape available here: http://pzacad.pitzer.edu/~jhoste/HosteWebPages/downloads/Knotscape-noLinks.tar.gz Note that it is a PPC version, so you need either an old Mac, or a PPC emulator (there exist such an emulator for OSX 10.6, available from Apple, not sure if you would have luck with newer versions of OSX though). One ...

1

You can use Trendpoly[A,B,C,...,2] where A,B,C,... are your points and "2" is the degree of your function. Be aware, that the parabola doesn't go through all your given points.

Top 50 recent answers are included