Jump to content



Photo
- - - - -

How To Set The Matrix Dimension In Program?


  • Please log in to reply
1 reply to this topic

#1 pan.gejt

pan.gejt

    Casio Freak

  • Members
  • PipPipPipPip
  • 264 posts
  • Gender:Male
  • Location:CZ

  • Calculators:
    .

Posted 24 May 2016 - 07:49 AM

I have fx-9860g slim and the procedure is very simple

 

?->N:?->M                ;input rows and columns

{N,M}->Dim Mat A   ;this creates matrix N×M

"A"?->A               ; input matrix element

A->Mat A[1,1]          ;assign matrix element A to position 1,1 of matrix A

 

But this doesn't work for Classpad. 

How can I set the matrix dimension and how to assign a matrix element to desired position in Classpad?

 

 

 


#2 pan.gejt

pan.gejt

    Casio Freak

  • Members
  • PipPipPipPip
  • 264 posts
  • Gender:Male
  • Location:CZ

  • Calculators:
    .

Posted 02 June 2016 - 07:35 AM

I asked the Casio Support Europe and the procedure is very different but very simple. The name "Mat X" is not necessary

 

Input n

Input m

Input a

Input b

Input c

fill(0,n,m)=>A

a=>A[1,1]

b=>A[1,2]

c=>A[1,3]

 

this code creates matrix A=[a,b,c,0,0,0...m]

 

Big thanks to Casio Support Europe




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users