CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    2

    matlab .m code to gui

    Hello,

    i have been a lot confused about to make a gui in matlab.

    i would like this simple code of a 3d function to be made with gui
    Code:
    [x,y]=meshgrid(260:0.1:420,0.8:0.1:2);
    e=1.05e-12;
    e0=8.15e-14;
    k=8.6e-5;
    q=1.6e-19;
    Nd=10e20;
    z=sqrt(y.*(2*e*e0*((x.*k)/q))/(q*Nd))
    mesh(x,y,z)
    i would like to have cells for e,e0,q,k,xmax,xmin,ymax,ymin that will have an existing value but the user can change them after the plot button (in that case 3D plot-mesh) ang an an axis place.
    thanks

  2. #2
    Join Date
    Jun 2012
    Posts
    2

    Re: matlab .m code to gui

    gui or uicontrol

  3. #3
    Join Date
    Feb 2011
    Location
    United States
    Posts
    1,016

    Re: matlab .m code to gui

    [ Moved thread : From Algorithms and Data Structures to General Developer Topics ]
    Best Regards,

    BioPhysEngr
    http://blog.biophysengr.net
    --
    All advice is offered in good faith only. You are ultimately responsible for effects of your programs and the integrity of the machines they run on.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured