Gelöst


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

mehr als 9 Jahre vor

Beantwortet
Warnings do not turn off
try warning('off','all')

mehr als 9 Jahre vor | 0

Beantwortet
Cumulative sum of cell array column
Try this res=sum(cellfun(@double,A(:,7))) or res=cumsum(cellfun(@double,A(:,7)))

mehr als 9 Jahre vor | 0

Gelöst


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

mehr als 9 Jahre vor

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

| akzeptiert

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

mehr als 9 Jahre vor | 0

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

mehr als 9 Jahre vor | 0

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Gelöst


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

mehr als 9 Jahre vor

Mehr laden