cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Difference between Array

SOLVED
ldante
Marble

Difference between Array

HI,

I just need some help to simplify Hz in a simple mathematical  program.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Difference between Array

Something like this:

Success!
Luc

(Attached is Prime4 file)

View solution in original post

20 REPLIES 20

Re: Difference between Array

Something like this:

Success!
Luc

(Attached is Prime4 file)

View solution in original post

Re: Difference between Array

Great .. Thanks

Re: Difference between Array

You're welcome.

Re: Difference between Array

A bit more easily understood:

Luc's is a more general application, above is less typing!  

Re: Difference between Array

I would vote for using functions to do the jobs. Especially if you need to calculate a difference vector more than once.

Here are two examples - basically reflecting the two different methods shown by Luc an Fred.

Re: Difference between Array

I will save this all as my reference . Thank you ..

Re: Difference between Array

In which case I'd vote for:

Is of general use, and also works in Express Prime...

Luc

Re: Difference between Array

I don't have Express. . .

Array indexing and range variables are "advanced options" ??

Re: Difference between Array

No,

but programming is,

as are very advanced functions like the Re() and Im() functions (and Bessel functions, statistics, data analysis, curvefitting and smoothing, design of experiments, differential equations, signal- and image processing functions),

plots other than XY-plots,

solve blocks,

symbolics.

Furtunately the complex conjugate operator works, so Re() and Im() are easily defined.

Luc

Re: Difference between Array

Oh, and not to be forgotten: root() works in Express.

Luc

Re: Difference between Array

and the if-function works, too, in Express! So at least very limited "programming" is possible.

Re: Difference between Array

No, those things are not considered "premium".

Luc was referring to my functions which would not work in Express.

Your version with ranges and  indexing will of course work as well in Prime Express.

BTW, you can easily try what Express is like. Just point your licensed version to an invalid licence (any text file or the like will do).

Re: Difference between Array

Good point!

Then I'd vote for

I was surprised that O worked as matrix index 😉

Re: Difference between Array

I'm afraid I can't do the (left arrow) programming assignment in Express.

Luc

Re: Difference between Array

Ahhh ! Think you are right. In fact I did not reset my Prime to Express Mode to give it a try

Re: Difference between Array

?? Can you switch back and forth?

Luc

Re: Difference between Array

Yes, I can switch simply by pointing Prime to an invalid file as license file.

At the moment I am working on a machine with a network flex license so I had additionally plug out the network cable because we set the installation vi environent variable so it looks for one flexlm server after the othe for a license if licensing fails.

When I work on a machine with a local single user license bound to the MAC, its as simple as pointing Prime to an invalid file (a non-existing file will not do) and you have to remember the name and location of the valid license file to be able to switch back, of course 😉

Re: Difference between Array

Aha.

Well anyway, for the time being, and the foreseeable future, I'll not be in that position.

Luc

Re: Difference between Array

You don't miss anything important, I guess.

Re: Difference between Array

As long as I can keep my Mathcad 11 running: not really.

Announcements