Réponse apportée
how to make bisection Method, secant Method , regular falsi Method and Newton raphson Mehtod.
Find the code in the links. Secant: <https://it.mathworks.com/matlabcentral/fileexchange/36737-secant-method/content/secant....

plus de 9 ans il y a | 4

| A accepté

A résolu


Rounding off numbers to n decimals
Inspired by a mistake in one of the problems I created, I created this problem where you have to round off a floating point numb...

plus de 9 ans il y a

A résolu


Summation of array
Given an array, Find the sum of all of the elements in it Examples: Input x = [1 2 3 5; 4 5 6 7]; Output y is 33

plus de 9 ans il y a

Réponse apportée
Number of columns to be shown of a matrix saved in the workspace.
Assume your matrix C is nx14. To display them separately just save two other matrices as follows: A = C(:,1:7); B = C(:...

plus de 9 ans il y a | 3

A résolu


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

plus de 9 ans il y a

A résolu


Sum of the Multiplication of Vectors
Given the vectors x and y as input, multiply the vectors and return the summation of its elements. Example: x = [1 2 ...

plus de 9 ans il y a

Réponse apportée
Add various horizontal lines to a plot
Horizontal line at what y coordinate? Fix y and then plot the line, for example if y=5: x=1:12; y=5; plot(x,y*ones(si...

plus de 9 ans il y a | 23

A résolu


Matlab Basics II - Extract last 3 elements of a vector
Let x be a vector of unknown length, we are always interested in the last 3 numbers in the vector, write a function that gives t...

plus de 9 ans il y a

A résolu


UICBioE240 problem 1.13
Compute the following - y = x^5/(x^-1) and y = (1-(1/x^5))^-1. Have the final answer of y to equal a 1 by 2 vector.

plus de 9 ans il y a

A résolu


Find Out sum of principal diagonal element of given matrix
Find out sum of principal diagonal element of given matrix If A=[1 0 0; 0 1 0;0 0 1], then answer must be 3.

plus de 9 ans il y a

A résolu


Additive persistence
Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

plus de 9 ans il y a

A résolu


Generate this matrix
Generate the following matrix. n = 2; out = [-4 -3 -2 -1 0 -3 -2 -1 0 1 -...

plus de 9 ans il y a

Réponse apportée
How can I fit a circle to a region of pixels?
You can manage by exploiting the "shape measurements" and other properties that function *regionprops* allows you to use: <ht...

plus de 9 ans il y a | 3

A résolu


Power supply: 230V to 115V
The problem is simple: we have a wall outlet which supplies 230V and an apparatus that requires 115V. Software is always chea...

plus de 9 ans il y a

Réponse apportée
How can I merge multiple cells of data into one cell?
Look here all the way it is possible to do that. <https://it.mathworks.com/help/matlab/matlab_prog/combine-cell-arrays.html>

plus de 9 ans il y a | 3

A résolu


Perimeter
Given a sequence of points forming a closed path (first and last points are coincident) return the perimeter value. For example...

plus de 9 ans il y a

A résolu


When can one be the Life Member of the IEEE?
Consult the site http://en.wikipedia.org/wiki/Ieee from where it can be seen that IEEE Members who have reached the age of 65 an...

plus de 9 ans il y a

A résolu


Box!
Given a box, find the volume of the cube. With each side = a.

plus de 9 ans il y a

A résolu


UICBioE240 problem 1.6
Find the tangent line of a right triangle given the two of the sides. So if A = [1 1] B = sqrt(2)

plus de 9 ans il y a

A résolu


square root
Find the square root (y) of an input (x).

plus de 9 ans il y a

A résolu


Square wave average calculation
Given its peak and duty cycle, calculate avg value of square wave

plus de 9 ans il y a

A résolu


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

plus de 9 ans il y a

A résolu


Remove NaNs and numbers adjacent to NaNs
The aim is to remove the elements before and after NaN occurrences inside a vector. For example: x = [6 10 5 8 9 NaN 23 1...

plus de 9 ans il y a

A résolu


Reverse the input
Given an input (n), produce an output in the reverse order with out using string variables or string function. Example x ...

plus de 9 ans il y a

A résolu


Matlab Basics II - Log and natural log
Write a function that calculates the difference between the log and natural log of a vector, to two decimal places example: ...

plus de 9 ans il y a

A résolu


Evaluate Polynomial
Given a polynomial equation coefficients in a vector p, you have to return its value at x. Example: For inputs p and x ...

plus de 9 ans il y a

A résolu


Convert a Cell Array into an Array
Given a square cell array: x = {'01', '56'; '234', '789'}; return a single character array: y = '0123456789'

plus de 9 ans il y a

A résolu


Guess Cipher
Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifmq zpv...

plus de 9 ans il y a

A résolu


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

plus de 9 ans il y a

A résolu


Create an anti-identity matrix
Create an anti-identity matrix of given dimension. Examples n = 2 A = [0 1; 1 0] n = 3 A = [0 0 1; 0 1 0; 1 0 0...

plus de 9 ans il y a

Charger plus