(Matlab)
In this problem, write the first of two functions. Thisfirst function takes in the first and last name and returns astring that is lastname_firstname and with any dashes (-) in thename taken out.
Note that you’ll be testing it by calling it fromthe command line; you’ll call it from a script in problem3.
Deliverables:
Function file that takes in a string and returns a stringwithout a dash
Call that function from the command line and show that itworks
strNoDash = RemoveDash(‘first-dash’);
Function file that takes in first and last name and returns thejoined name
Call the function from the command line and show that itworks
str = JoinName(‘first’,
PayPal Gateway not configured
PayPal Gateway not configured