Risolto


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

oltre 9 anni fa

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

oltre 9 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)))

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

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

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

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

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

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

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

oltre 9 anni fa

Risolto


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

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

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

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

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

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

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

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

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

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

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

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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

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

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

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

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

oltre 9 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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Carica altro