How To Build a matrix of zeros

Hello,
I am trying to build a tsunami Simulator and I need to create an empty matrix of zeros for the three variables u,v and b. How do I go about doing this?
The code I need to enter is: 
% Build empty u, v, b matrices
u=zeros(length(x), length(y), length(t));
v=zeros(length(x), length(y), length(t));
b=zeros(length(x), length(y));
h=zeros(length(x), length(y), length(t));
Thanks
Sam

You probably mean array, as matrices are 2D arrays in LV, so that won't apply to your 3D example.
The Initialize Array function in the Array palette will do the job:
In your case, expand it to 3 dimensions:

Similar Messages

  • Where to go to learn how to build a matrix database

    Does anyone know where to go to build  a matrices database

    The question is not  how to build a matrix database, but how to display the data in a matrix format.
    Although only a small part of this course, you will be confronted with matrix data display

  • How to build a Matrix with Group Left Report

    I want to build a Matrix with Group Left Report,not Matrix with Group Above Report,i am still finding the solution, any help is useful.
    thanks
    <[email protected]>

    Hi,
    The problem in your output is not clear. The report output should appear like:
    Order Mode.....Sales_Rep_ID > 10..11..12..
    Online.........Order Status
    ...............A..............x....x...x
    ...............B..............x....x...x
    ...............C..............x....x...x
    Order Mode.....Sales_Rep_ID > 10..11..12..
    Retail.........Order Status
    ...............A..............x....x...x
    ...............B..............x....x...x
    ...............C..............x....x...x
    Here "Order Mode" is the group field (it repeats for every group). Could you pl specify what output you are getting?
    If the problem is that you don't want the Title (like "Order Mode" in the above example) to print in every group, just place it outside the group repeating frame. It will print only once.
    Navneet.

  • How to build matrix report

    hello,
    i need your help to build a matrix report. i do not have any idea about that.
    can you please guide me with the hr schema . to build a matrix report.
    thanks

    thanks for the link i have build single query and multi query matrix report with the provided link.
    one more thing i need,
    i want to add the summary columns with the multi query matrix report there is nothing provided with that link.
    can any budy please give me hint/tips
    thank you

  • How can we remove the following zeros from quantity field ?

    Hi All.
    how can we remove the following zeros from quantity field while populating ALV by using FM REUSE_ALV_GRID_DISPLAY ?
    eg:getting output zqty = 2.000
    but i need           zqty = 2.
    help me to reslove this issue.
    Regards.
    jay

    Hi,
      While populating the field catlog do the following thing to   avoid zeros.
      wa_fieldcat-tabname = 'I_OUTPUT'.    " Curr
      wa_fieldcat-fieldname = 'FWAER'.
      wa_fieldcat-seltext_l = text-023.
      wa_fieldcat-no_zero = 'X'.
      APPEND wa_fieldcat TO i_fieldcat.
      CLEAR  wa_fieldcat.
    Thanks,
    Khushbu.

  • How to build a Oracle style Web site

    Dear All,
    (Not sure whether this question should be this sub-site or not.)
    My question is how to build a Oracle style Web site, what technology should be use.
    Example Site: [http://www.orapub.net/ebs/index.htm|http://www.orapub.net/ebs/index.htm]
    This web site style is like Oracle Enterprise Manager.
    Thanks a lot
    Pan

    You can use Oracle Webcenter or just Oracle ADF to build a Oracle Enterprise Manager kind of Website.
    See details here -
    http://st-curriculum.oracle.com/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    http://www.youtube.com/watch?v=iE2zTNhlvy8

  • How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000

    Post Author: ltkin
    CA Forum: WebIntelligence Reporting
    Hi,
    How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
    Regards,

    Hi ltkin,
    Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
    Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
    Please let me know if the above information helps.
    Regards,
    Pavan

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

  • How to build the  FM data I_header and I_orgdata

    hi all,
    I’m working on the conversion program for AVL using the following function modules
    BBP_PD_AVL_GETLIST
    BBP_PD_AVL_CREATE
    BBP_PD_AVL_UPDATE
    BBP_PD_AVL_SAVE
    In the function module BBP_PD_AVL_CREATE , how to build the FM data  I_HEADER and I_ORGDATA.
    I'm giving 3 input in Export parameter in BBP_PD_AVL_GETLIST  and E_pdlist should contain data .
    but e_pdlist is not getting data...any suggestion..
    after execution it was showing  "Buffer table is not up to date"
    with regards,
    P.lokesh

    Hi Lokesh,
    We are also encountering same problem.
    How did you solve your problem?
    Would really appreciate your help.
    Thanks,
    Kezia

  • How to build a search engine in the database?

    Hi there,
    say I have 3 tables:
    1. Table_empl: idEmpl, fname, lname, dob...
    2. table_department: idDpartment, idEmpl, departmentName, section...
    3. table_fligths: idFlight, idEmapl, departure date, destination, carrier...I would like to provide the end-user a text box (in my GUI) where he can write whatever he would like to get info about. If, for example, he'll write: british-airways, I expect the system to search everything in the db that matches this input.
    Question: How can I design such a search engine that retrieve information from every possible table in the db with reference to every column.
    thanks for any pointers

    thanks darted for your reply. so what do you recommend? should i give the end user all names of tables and columns and ask him to choose from the list and than build a query based on that?
    this is optional but i'd rather have one exec button and to return all possible results from the db. if (in the example i provided) it found 'british airways' in the carrier - than that a result. if it founds 'british' in the lname of table_emple - that's another result. so the output should be something like:
    found 2 matches:
    1. british airways, 10/10/2006, LHR
    2. British, John, 12/01/63,
    any idea how to build that?

  • How to build a query based on(UNION) 3 vendor InfoObject

    Dear Experts:
    I have a requirement to build one query based on 3 vendor InfoObjct: 0VENDOR + 0VEN_COMPC + 0VEN_PURORG.
    I tried to build a multiprovider upon these 3 infoobjects, but when I Identify(Assign) the key for each InfoObject, supposely there should be 3 InfoObject for me to check (0VENDOR, 0VEN_COMPC and 0VEN_PURORG) so that I can UNION these 3 infoobjects together on vendor number. But since the reference infoobject of these 3 vendor master data is different, I can not check the 3 together.
    Can anybody let me know how to build that query? I only need vendor number show once, and the attributes of 0VEN_COMPC and 0VEN_PURORG can be union to 0vENDOR.
    Any post would be appreciated and thank you all in advance!
    Best Regards!
    Tim

    Hi,
    you can create a link between the vendor objects itself, means link 0vendor with 0ven_compc and 0ven_purorg. This should give you a list of all vendors multiplied with the comp codes multiplied with the purch. org. May be here it is possible to create another link between a attribute (eg. comp_code of 0ven_purorg with comp_code of 0ven_compc). In case it is not possible you need to add this link information somehow. Another option might be to create 2 queries. One on a infoset of 0vendor and 0ven_purorg and another one on 0vendor and 0ven_compc.
    regards
    Siggi

  • How to build a server?

    Hey,
    Can anybody tell where I can find online tutorials on how to build a server using java?
    Thanks

    @bender02
    Thx very much for your link. This ready-made solutions can help me to save a lot of otherwise wasted time. QNAP's NAS solution looks good and this Bubba|Two (though it doesn't have mirroring via raid1) is also very attractive.
    I am very interested in what server solution you use.
    My planned server is really for local network uses only. It should serve for file related purposes like file sharing over the network, backup (maybe with raid1) and a centralized data storage.
    I think I will settle with one of this commercial and ready-for-use systems. The thought to tinker around and to make everything by yourself is very temptating but I am getting weary of it. And I dont have the time to tinker around as I have to study enormous amounts
    If I did everything by myself I would have to learn how to handle ssh and rsync, which software is suited for what purpose, how I can configure each software to fit my needs and at last I would have to work on some scripts or search for them to achieve a workaround. And this takes for weeks and months, time that I can't afford -.- sometimes a desktop alone can be enough work to do, when I want everything to be "perfect" and "secure". In the past the guys worked on their motorcycles and now they work on their computers, hehe
    So if nobody has a very good reason why I should tinker around, then I'll buy some ready-for-use stuff.
    Last edited by hauntergeist (2009-04-11 20:55:56)

  • How to build Perfctr 32-bit libray on 64-bit AMD machine

    Dear all,
    I have downloaded perfctrl library (used by "collect" tool) as this is required by collect tool for getting performance data from underline system.
    from http://user.it.uu.se/~mikpe/linux/perfctr/2.6/perfctr-2.6.34.tar.gz
    OS
    Linux MyMachine 2.6.18-92.el5.src-PAPI #1 SMP Tue Jan 27 10:57:40 CET 2009 x86_64 x86_64 x86_64 GNU/Linux
    Architecture
    AMD 64 bits (Family 10h) or x86_64
    I am using Java version
    $ java -version
    java version "1.6.0_10"
    Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
    Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)
    My question is that when i install using defaults, perfctr user library installs 64-bit of libray version that can be used with 64-bit JVM
    but i need to use or get performance data using "collect" tool and 32-bit JVM, for that i think i need 32-bit version of "perfctr" library
    So i want to know can any body kindly tell me how to build 32-bit "perfctl" library on my system.
    Many Thanks

    You are correct - you will need to build a 32-bit perfctr user library to profile 32-bit applications.
    The analyzer team has only built this library on 32-bit systems (and copied the library to the 64-bit systems). Some users have built the 32-bit version on 64-bit system, but we don't know the specific changes they made to the perctr build. I'm sorry I couldn't be more help at this time.

  • How to build my own SELECT-OPTIONS?

    Hi experts,
    I hv 4 values like for a field, (say VBAK-BNAME),
    NAME_A
    NAME_D
    NAME_M
    NAME_Z
    My selection- screen is like,
    SELECT-OPTIONS: MANAGER FOR VBAK-BNAME.
    So,
    1) How to build the SELECT-OPTIONS table in my ABAP code?
    I mean, if the user enters the NAME_A TO NAME_Z in select-options, the system shuld take in-between NAMEs also!
    (Actually, I thiught that, the SAP will take care of building the select-options table based on Alphabetical Order, but, When I observed in debug mode, its not like that!)
    2) And Where I hv to write the code for building select-options? I mean, Is it DATA DECLARATION part, AT SELECTION SCREEN or AT SELECTION SCREEN OUTPUT or START OF SELECTION?
    thanq.
    Message was edited by:
            Sridhar
    Message was edited by:
            Sridhar

    Hi,
    Pls. suggest me other than RANGES?
    Well, if you don't want to use RANGE then you can do it at SELECT statement.
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME IN ( NAME_A, NAME_D, NAME_M, NAME_Z )
    OR
    SELECT BNAME
    INTO TABLE ITAB
    FROM VBAK
    WHERE BNAME BETWEEN 'NAME_A' AND 'NAME_Z'.
    2) under which event i hv to write it?
    If you are using in SELECT statement, then you use at START-OF-SELECTION.
    If you are buiding RANGE, then you can use at any events such as INITIALIZATION, AT SELECTION-SCREEN OUTPUT, START-OF-SELECTION, etc.
    Regards,
    Ferry Lianto

  • How to build a plug-in for FCP

    I want to build an export plug-in for FCP. It is a little similar to Automatic duck export plug-in. I want to export sequence in my own format.
    The version of Final Cut Pro is 6.0.
    I downloaded FxPlug SDK, but it is only about video effect, not what i want.
    And I didn’t find any other documents about how to build an export plug-in for FCP.
    Who has some related documents or can support me on this?
    I will pay for the help if i can afford it.

    I don't own Automatic Duck so I don't know how that particular application goes about doing this, but the only way I can think of doing it is through a QuickTime Export Component.
    http://developer.apple.com/documentation/QuickTime/Rm/ImportExport/DataExchange/ A-Intro/chapter1_section1.html

Maybe you are looking for

  • Pinching open and close from track pad

    I am unable anymore to pinch open and close screens using my track pad. Why is this?

  • "Itunes cannot open because it has detected a problem"

    I upgraded to the new version of Itunes and now that I went to go open it I got a message saying "Itunes cannot open because it has detected a problem with your audio configuration" Can someone help me and if it is my computer how do I get an older I

  • Soap Router versus Web Service Servlet

    Hello: I am trying to understand the fundamental difference between a SOAP Router versus Web Service Servlet?. In websphere there is a concept called WSG(Web Service Gateway) on which we can configure an handler to intercept the incoming soap request

  • Can I configure firefox to download the content of my RSS feeds rather than display it?

    With IE, I am able to have the actual contents of my RSS feed downloaded to my PC. I'm not seeing how I can do that with Firefox. If it's possible, can someone let me know how I can do it? Thanks.

  • Need help with daq problem

    Hi, I need to generate a clock with a period of 20 micro seconds, duty cycle of approx 20% and a data line as well as an address line all linked to the clock pulse. I have tried many different solutions, all using the Daq PCI-1200 but nothing seems t