A résolu


Create a vector
Create a vector from 0 to n by intervals of 2.

plus de 9 ans il y a

Réponse apportée
Warnings do not turn off
try warning('off','all')

plus de 9 ans il y a | 0

Réponse apportée
Cumulative sum of cell array column
Try this res=sum(cellfun(@double,A(:,7))) or res=cumsum(cellfun(@double,A(:,7)))

plus de 9 ans il y a | 0

A résolu


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

plus de 9 ans il y a

Réponse apportée
Displaying the answer of Newton's method for multiple roots?
Obtained solution: Main code m=1; fprintf(' k xk fx dfx \n'); roots=[-0.0505 1.3232 ...

plus de 9 ans il y a | 0

Réponse apportée
Displaying the answer of Newton's method for multiple roots?
for k=1:50 fx=sin(x^(2))+x^(2)-2*x-0.09; dfx=(2*(x*cos(x^2)+x-1)); fprintf('%3d %12.8f %1...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
how do I find the minimum of an implicit equation with symbolic variable
I guess you have to use symbolic variables here instead of A(i),B(i),C(i). And only in the end substitute elements in result us...

plus de 9 ans il y a | 0

Réponse apportée
How to solve this 3rd order PDE?
Firstly u have to rewrite your equation. Than use pdepe. check out this. https://www.mathworks.com/help/matlab/math/partial-di...

plus de 9 ans il y a | 0

A résolu


Logarithm with base other than 'e'
Standard log() function returns natural logarithm with base equal to Euler constant. Compute logarithm for a given base.

plus de 9 ans il y a

A résolu


Find product of eigenvalues of n*n magic matrix.
Find product of eigenvalues of n*n magic matrix. Example n=3 Matrix= [ 8 1 6; 3 5 7; 4 ...

plus de 9 ans il y a

A résolu


Was ist denn los?
Nur für deutschsprechende Leute! Wie geht's? ...also gut, bis bald!

plus de 9 ans il y a

A résolu


Calculate the sum of elements of n*n Hilbert matrix.
Calculate the sum of elements of n*n Hilbert matrix. Example n=5 HilbertMatrix=[1.0000 0.5000 0.3333 0.2500 ...

plus de 9 ans il y a

A résolu


Dimensions of a rectangle
The longer side of a rectangle is three times the length of the shorter side. If the length of the diagonal is x, find the width...

plus de 9 ans il y a

A résolu


Calculate roots of polynomial given as vector array.
Calculate roots of polynomial given as vector array. Example x=[1 2 0 5 0 3] result=[-2.7267 ; ...

plus de 9 ans il y a

A résolu


Get derivarive of polynomial given as vector array.
Get derivarive of polynomial given as vector array. Example p=[ 1 2 0 5 0 3 ]; result=[ 5 8 0 10 ...

plus de 9 ans il y a

A résolu


Divide polynomial p1 by p2.
Divide polynomial p1 by p2 given as vectors. Return result q and r vectors which corresponds the quotient and remainder of divis...

plus de 9 ans il y a

A résolu


Multiply two polynomials p and q given in in vector representation.
Multiply two polynomials p and q given in vector representation. Example p=[-2 0 1 -1 3 2] q=[1 0 -1 2 ...

plus de 9 ans il y a

A résolu


Calculate the values of a polynomial.
Calculate the values of a polynomial.Input parameter p - vector of polynomial coefficients, x - matrix of the argument values. ...

plus de 9 ans il y a

A résolu


Opposite task convert string hexadecimal numbers array into array of decimal numbers .
Opposite task convert string hexadecimal numbers array into array of decimal numbers . Example x=[ '208'; '209'; '20A'; ...

plus de 9 ans il y a

A résolu


Opposite task convert binary numbers array into array of decimal numbers.
Opposite task convert binary numbers array into array of decimal numbers. Example x=[ 11001000 ; 11001001 ; 11001010 ...

plus de 9 ans il y a

A résolu


Convert array of decimal numbers into hexadecimal numbers array.
Convert array of decimal numbers into hexadecimal numbers array. Example x =[ 32 33 34 35 36 37 38 ...

plus de 9 ans il y a

A résolu


Convert array of decimal numbers into binary numbers array.
Convert array of decimal numbers into binary numbers array. Example x = [1 2 3 4 5 6 7 8 ]; re...

plus de 9 ans il y a

A résolu


Find area.
Suppose <<https://www.mathworks.com/help/examples/matlab/ImproperIntegralExample_eq17103907294130514984.png>> b=Inf. Fi...

plus de 9 ans il y a

A résolu


Numerate input arguments
For every input, output the number. Example: [a, b] = Test('first', 'second') a=1; b=2;

plus de 9 ans il y a

A résolu


Find the sines of an isosceles triangle when given its area and height to its base.
Find the sines of an isosceles triangle when given its area and height to its base. Example S=60, h=5 result=[0.3752 0.3752 0...

plus de 9 ans il y a

A résolu


Find the sides of an isosceles triangle when given its area and height to its base.
Find the sides of an isosceles triangle when given its area and height to its base. Example S=12, h=4, result will be [5 5 6]...

plus de 9 ans il y a

A résolu


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

plus de 9 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

plus de 9 ans il y a

A résolu


Solution to Ax=b with singular A
Find solution to Ax=b problem if A is singular. Hint: Compute a minimum norm solution

plus de 9 ans il y a

A résolu


What does the "B" in Benoit B Mandelbrot stand for?
Tip https://en.wikipedia.org/wiki/Mandelbrot_set

plus de 9 ans il y a

Charger plus