
CFX-9850G and creating a mat
#1
Posted 02 November 2002 - 11:08 AM
How can my programs create matrices by dimension on the CFX-9850G.
On CFX9850GB PLUS i use the following command:
{5,5}->DIM MAT A
This creates a 5 x 5 - matrix in variable MAT A.
But on CFX9850G it just says "Syn ERROR".
Can you help me? THX!
#2
Posted 02 November 2002 - 01:50 PM
{Z,Y}->Dim Mat Abecomes:
Seq(0,X,1,Z,1)->List 1 List->Mat(List 1) Mat Ans->Mat A For 2->A To Y Augment(Mat A,Mat Ans)->Mat A Next
There is also a way to create lists like that. Go to http://www.casiocorner.rpd.nl and look in the "Programming" section. (That's where I got the above example from).
#3
Posted 02 November 2002 - 02:09 PM
if N is the number of Rows, and M is the number of Collums:
N->Dim List 1
List->Mat(List 1)->Mat A
Mat A->Mat B
For 2->A To M
Augment(Mat B, Mat A)->Mat B
Next
Alternativelly, if you need to speed it up, and the number of collums is a power of 2: N is Rows, 2^M is Cols
N->Dim List 1
List->Mat(List 1)->Mat A
For 1->A To M
Augment(Mat A, Mat A)->Mat A
Next
Haven't tried it.. but I think it should work

If the Dim List command doesn't work, you could use a seq(0,X, 1, N, 1)->List1
#4
Posted 05 November 2002 - 07:45 PM
I think these are good solutions

#5
Posted 06 November 2002 - 04:29 PM
[[0,0,0,0,0][0,0,0,0,0][0,0,0,0,0][0,0,0,0,0][0,0,0,0,0]]->Mat A
Here you can define the content of the matrix when you create the matrix.
bye
rstweb
#6
Posted 10 November 2002 - 06:39 AM
#7
Posted 10 November 2002 - 02:03 PM

If your making an rpg, or adventure game, ur probably using the matrix to store the map, or character data. Even if it's a bit slower than using lists, It's still more "programming friendly". For the map, it's easier to visualize. For the characteres, if your working with multiple characters / creatures, You can easilly set one collumn for each of them and their data, so you keep your data nice and tidy + it's easy to swich between characters, and even expand the matrix to include more of them

#8
Posted 10 November 2002 - 05:11 PM
#9
Posted 11 November 2002 - 04:23 PM
i don't know when, but in the next time i will publish my casio-site (casio-hardware-hacking) and there you could find some informations about the memory and so on.
bye
rstweb
btw: does somebody have an old (propably broken) graphical casio-calculator? if yes, please send an Private Message to me! Thanks!
#10
Posted 11 November 2002 - 05:00 PM

In 1997 i had a CFX9800G. Some of my programs needed matrixes whose dimention could change in function of the inserted values. The solution i found was to create a "huge" matrix before running the program. Somedays later i found a CFX 9950G in a store. i tested it, (it had 64Kb ram, much more than the cfx 9800G, and i could program "dynamic matrixes")...i bought the calc, and made some modifications on the cfx9800G programs. The programs where much smaller, and i had much more memory free for new adventures

The 1997 program was a program to work with continued fractions, and the code used was very symilar to the one Mr BiTwhise wrote, [the code that does not have lists]
xiii! i'm getting old! Now i tell stories

#11
Posted 15 February 2006 - 03:16 AM
#12
Posted 15 February 2006 - 03:45 PM
{1,2,3} gives a three-element list. Seq(0,A,1,255,1) gives a 255-element list.Ok, i tried to create list with my fx-7400 but somehow i couldn't. Anyone know how to create list in such calculator?
#13
Posted 17 February 2006 - 08:59 PM
Hi. I got a problem.
How can my programs create matrices by dimension on the CFX-9850G.
On CFX9850GB PLUS i use the following command:
{5,5}->DIM MAT A
This creates a 5 x 5 - matrix in variable MAT A.
But on CFX9850G it just says "Syn ERROR".
Can you help me? THX!
On the AFX you can do:
Identity 5 ->Mat A
to get an identity matrix. Maybe the same thing works on the 9850?
Tom Lake
#14
Guest_Halmin_*
Posted 24 February 2009 - 09:53 PM
On the AFX you can do:
Identity 5 ->Mat A
to get an identity matrix. Maybe the same thing works on the 9850?
Tom Lake
I have a problem
I need to use RREF to solve my matrix problem by CFX9850G . However I couldn't find any think about RREF. How can I handle this problem? do I need to dowloand a program?
#15
Guest_Halmin_*
Posted 24 February 2009 - 10:03 PM
I have a problem
I need to use RREF to solve my matrix problem by CFX9850G . However I couldn't find any think about RREF. How can I handle this problem? do I need to dowloand a program?
If anyone who knows my problem's answer plese send an email to ayse.zeytin AT yahoo.com
Thank you
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users