MatLAB | Mathematica | MathCAD | Maple Answers

Questions: 124

Answers by our Experts: 124

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write a general MATLAB function for integrating experimental data using
Simpson’s 1/3 rule. Your function should check if there are an odd number of
intervals, if there are, the trapezoidal rule should be used for the last interval.
The first line of your MATLAB function should look like:
function I = Simpson(x,y)
Where the function numerically evaluates the integral of the vector of function
values ‘y’ with respect to ‘x’
Your matlab function should also include the following:
• Error check that the inputs are the same length
• Error check that the x input is equally spaced
• Warn the user (not an error, just a warning) if the trapezoidal rule has to
be used on the last interval.
I have detected the mouth on image using the viola jones algorithm on MATLAB, I need the codings to apply different colors on the detected mouth.
I need to develop a digital makeup system using MatLAB GUI, I have already detected the face,eyes and mouth on image using the Viola Jones algorithm. I need the codings for the detection of the cheeks and apply different colors on the cheeks, can help me with the codings?
Write a matlab script to display currency conversion for US dollar, british pound, euro with singapore dollar as the base currency. your output should show the equivalent values for USD, GBP, EURO for ever singapore dollar in increments of 1 dollar until 25 dollars.
Sample Output to be as follows:
SGD USD GBP EURO
1 - - -
2 - - -
3 - - -
. .
. .
25 - - -

I don't understand how to do this.
Write a function seqSum(a, N) that returns the sum of the sequence of a, a/2, a/3, ..., a/N where a and N are integers. The function should return the value of a + a/2 + a/3 + ... + a/N. You are not allowed to use “for” or “while” loop for this problem.

Hint: create array(s) and then perform the summation.
Create a MATLAB script to read the Excel file named “List of
Students”
A panel is conducting an interview on six candidates of different heights. If they are to put them in line, in how many ways can they arrange them in line such that no three consecutive candidates are in increasing order of height from front to back?
Write a matlab function nybblise which takes as input digital signal of 0’s and 1’s stored in a vector of size N ×1, and breaks it into four 4-bit nybbles, which are returned as the columns of a 4×N/4 matrix.
Your function must return -1 if the N is not a multiple of 4.
Following is the signature of the function.
function A = nybblise(d)
Input: d - digital signal as a vector of size N x 1
Output: A - nybbles as a 4 x N/4 matrix OR -1 if N is not a multiple of 4
Note: This function must use loops rather than MATLAB built-in functions such as reshape, fliplr, flipud.
With examples clearly distinguish between undirected graphs and directed graphs
Determine the number of positive integers x, where x <100 and x is divisible by 2,3 or 5
LATEST TUTORIALS
APPROVED BY CLIENTS