Risolto


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

quasi 10 anni fa

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

Risolto


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

quasi 10 anni fa

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

| accettato

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

quasi 10 anni fa | 0

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

quasi 10 anni fa | 0

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Risolto


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

quasi 10 anni fa

Carica altro