Question: Use Matlab to solve problem. Please Solve using Masking techniques. To receive a thumbs up do not use Conditional Statements or Iterations(aka Loops). Function Name:

Use Matlab to solve problem. Please Solve using Masking techniques. To receivea thumbs up do not use Conditional Statements or Iterations(aka Loops). FunctionUse Matlab to solve problem. Please Solve using Masking techniques. To receive a thumbs up do not use Conditional Statements or Iterations(aka Loops).

Function Name: flowerPicking Inputs: 1. (char) The type of flower to pick 2. (char) 1XN string representing an assortment of various flowers 3. (double) 1xN vector that holds how many days each flower has been stored Outputs: 1. (char) A statement on the type of flower and how many you picked 2. (double) How many of those flowers were wilted Banned Functions: strfind Topics: (masking), (strings and vectors) Background: Valentine's day is coming up and you are trying to secure a date! You have been following your crush (not creepily) to figure out what type of flowers they would like and alas you get the answer! With this information you go to the flower shop just to be met with so many different options it would take forever to find all the right ones, but luckily you remembered to bring your laptop so MATLAB can save the day! Function Description: The desired flower is given as a single letter: 'r'(rose), 't'(tulip), 'd'(daisy), 'p'(petunia), and 'c'(carnation) (input 1). You are also provided with a vector representing the flowers that exist in the flower shop (input 2). Find how many desired flowers there are in the shop, and output a sentence in the following format (output 1): the desired flower> of the right There are/is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!