turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

07-22-2009 06:47 PM

I have a critical problem.I need to raise a matrix to certain power using (##)operator,the problem is that the power is negative fraction and some elements of the matrix are negative fraction also.the program returuns an error message each time I run it and confirms that the operation couldnot be performed.I donot know how to solve this problem.please I ask for help

Best Regards,

Amani

Best Regards,

Amani

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to deleted_user

07-23-2009 11:05 AM

I assume here that you want to raise the elements of a matrix to a power (and not a matrix to a power) since you are using the ## operator. In general r to the a power will be multi-valued and complex if r is non-negative and a is non-integer, so the question arises, how do you want to handle complex values, and how do you want to choose a particular answer? It might be helpful to look at how these numbers arise and how you are using them?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Hutch_sas

07-23-2009 11:08 AM

Oops, I meant to say :

In general r to the a power will be multi-valued and complex if r is negative and a is non-integer

In general r to the a power will be multi-valued and complex if r is negative and a is non-integer

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Hutch_sas

07-23-2009 04:20 PM

Do you mean that SAS couldnot handle complex numbers and there isnot operators that can be used to calculate what I need in SAS?

If I need to solve this problem I have to write my program on other package that can solve this problem .e.g,MATLAB,?Oh!!!!!!

Best Regards,

Amani

If I need to solve this problem I have to write my program on other package that can solve this problem .e.g,MATLAB,?Oh!!!!!!

Best Regards,

Amani

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to deleted_user

07-24-2009 12:03 PM

No, what I am saying is that no matter what package you use, when you start dealing in the complex plane things become much more complicated. Raising a number to a power is straight-forward in real arithmetic using real numbers, but in the complex plane if the exponent is not integral there are multiple answers with different physical interpretations. In order to know what to do you need to understand how you got to that situation in the first place and what you are really looking for. See http://en.wikipedia.org/wiki/Exponential_function#On_the_complex_plane