Problem: A custom function working in M-File,
Find out how to write and incorporate string = input('what is your name,'s') and the rest that follows.
I am trying to come up with a general program for a star war name. And here is what I have:
function [StarFirst,StarLast]=FindStarName(FirstName,LastName,MotherMaiden,BirthPlace)
StarFirst=[FirstName(1:3),LastName(1:2)];
StarLast=[MotherMaiden(1:2),BirthPlace(1:3)];
You have to satisfy the requirements specific in the instruction and it must compile with no errors and follow the directions.