Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6933121
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:47:30+00:00 2026-05-27T11:47:30+00:00

How i can execute an equation from GUI? Example: How i can do this

  • 0

How i can execute an equation from GUI?
Example:
enter image description here
How i can do this with various type of equation?

Thanks the answers.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:47:30+00:00Added an answer on May 27, 2026 at 11:47 am

    I’m not entirely sure what you mean, but I think you want to grab the equation that a user types in to a text box and turn it in to a function?

    Why does your F change from 3 arguments to 4? i.e. F(x,y,y') --> F(1,0,5,-1) in the next line? (The examples of F you gave don’t seem to match up with your equation..)

    In any case, check out eval(), perhaps that is what you want.
    It takes in a matlab command as a string, e.g. 2 + 3, and evalutes it.

    So

    eval('2+3') % gives 5
    eval('f=@(x,y,ydash) y*sqrt(1+ydash^2)')  % gives a function f
    f(1,5,-2) % gives 11.1803
    

    But in any case, how do you expect the user to type in the square root symbol and the squared symbol? The eval() approach relies on them typing in syntax that matlab will understand.

    If you clarify your question a bit more this will be easier.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

From my understanding, Lua is an embeddable scripting language that can execute methods on
I've found many useful Bash commands that can execute OS X behaviors from the
I can execute this kind of query in SQL Server: update tblmembers set hits_archived
I know how one can execute MySQL queries / commands from bash: mysql -u[user]
In Drupal, I can execute a SQL as follows: $query_object = db_query(SELECT * FROM
I know that from iOS 4.0 onwards we can execute our code in background.
Normally you can execute a Python script for example: python myscript.py , but if
I have used alias ruby=ruby1.9.1, so I can execute my ruby with this: ruby
id like to know how I can execute this. say i have an array
When a signal is received, I can execute some commands using trap . Example:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.