Beantwortet
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....

fast 10 Jahre vor | 4

| akzeptiert

Gelöst


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...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Beantwortet
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(:...

fast 10 Jahre vor | 3

Gelöst


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: ...

fast 10 Jahre vor

Gelöst


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 ...

fast 10 Jahre vor

Beantwortet
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...

fast 10 Jahre vor | 23

Gelöst


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...

fast 10 Jahre vor

Gelöst


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.

fast 10 Jahre vor

Gelöst


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.

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Beantwortet
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...

fast 10 Jahre vor | 3

Gelöst


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...

fast 10 Jahre vor

Beantwortet
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>

fast 10 Jahre vor | 3

Gelöst


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

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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)

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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: ...

fast 10 Jahre vor

Gelöst


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 ...

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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

fast 10 Jahre vor

Gelöst


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...

fast 10 Jahre vor

Mehr laden