A résolu


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

plus de 3 ans il y a

A résolu


Calculate the area of a triangle between three points
Calculate the area of a triangle between three points: P1(X1,Y1) P2(X2,Y2) P3(X3,Y3) these three points are the vert...

plus de 3 ans il y a

A résolu


Find Closest Constant
Given a number x, return the value that is closest to x from this list of constants: 0, 1, , e, , (also known as ). For exampl...

plus de 3 ans il y a

A résolu


Find R*Rp-N*Np=1 given gcd(R,N)=1

presque 4 ans il y a

A résolu


RIPEMD160 Hash
Generator the RIPEMD160 hash given an input string and output the hexadecimal RIPEMD160 hash. For example: Input='My name is...

presque 4 ans il y a

A résolu


SHA256 Hashing
Conduct SHA256 hashing on a hexadecimal input to produce a 256-bit hexadecimal output. Example: hash = SHA256('aa') hash ...

environ 4 ans il y a

A résolu


Optimal Asymmetric Encryption Padding decoding of message for RSA Cryptography
EME-OAEP decoding by reversing the Feistel network using previously determined mask generation function (MGF1) and SHA-1 hashing...

environ 4 ans il y a

A résolu


Binary Array to Hex Representation
Given a binary array of bytes (lsb to msb), convert it into a hexadecimal representation (msb to lsb). For example: Input: [1 ...

environ 4 ans il y a

A résolu


Optimal Asymmetric Encryption Padding of message for RSA Cryptography
EME-OAEP encoding of input message using a Feistel network with SHA-1 hashing within the mask generation function (MGF1) (see pr...

environ 4 ans il y a

A résolu


Mask Generation Function (MGF1) for PKCS #1 Standard utilizing Optimal Asymmetric Encryption Padding for RSA Cryptography
Create Mask Generation Function (MGF1) from PKCS #1 v2.2 standard (B.2.1 page 50) at below link. Input will be character array (...

environ 4 ans il y a

A résolu


RSA decryption
Decrypt a large integer string using RSA decryption given the public key (n) and private key (d). Convert the large integer decr...

environ 4 ans il y a

A résolu


RSA encryption using public key
Encrypt the message text by converting to uint8 matrix using UTF-8 representation. Convert uint8 matrix to a large integer strin...

environ 4 ans il y a

A résolu


Create State Array for initiating SHA-3-224 Hash
Create binary represented state array (as the initial input to the sponge function (f)) from any length character array (N) with...

environ 4 ans il y a

A résolu


Determine RSA keys (public and private) given two prime number character strings (p and q)
Given two prime number character strings (p and q), generate the RSA public and private keys (n and d) with e = 65537. The more ...

environ 4 ans il y a

Réponse apportée
Import data from .DTA file to Matlab.
@Mohamed Asaad here is what I was able to do with it: filename = 'John_220202_SE_SPR_PEG_PBS+HydroQ_0,45CV_1.DTA'; % we rea...

environ 4 ans il y a | 2

| A accepté

A résolu


String to Binary Representation
Given a string, convert it using UTF-8 into a binary array where each character or byte is arraigned low to high. For example: ...

environ 4 ans il y a

Réponse apportée
Why does the SUBS command change the size of the expression incorrectly?
it's because of the way you're passing in your substitution variables { } ~= [ ] syms a b c d e f = sym('f', [2, 2]) g...

environ 4 ans il y a | 0

Réponse apportée
Is it possible to overlay pcolor plots using hold on?
f1 = figure;% (Visible="on"); Y = pcolor(T, H, A'); set(Y, 'EdgeColor', 'none'); set(gca,'ColorScale','log'); hold on ...

environ 4 ans il y a | 0

A résolu


Numerical Integration
Input * |x0|, a real number greater than 0 Output * |I|, a numerical estimate of the integral x0 / I...

environ 4 ans il y a

A résolu


Differential equations I
Given a function handle |f| an initial condition |y0| and a final time |tf|, solve numerically the differential equation dy...

environ 4 ans il y a

A résolu


Make a Plot with Functions
Make a plot and test

environ 4 ans il y a

A résolu


The Birthday Phenomenon
First off, leap years are not being considered for this. In fact the year that people are born shouldn't be taken into considera...

environ 4 ans il y a

A résolu


Throwing Dice - Will You Be Eaten By The Dragon?
You and a dragon have agreed to let dice rolls determine whether it eats you or not. The dragon will roll a single die, of x ...

environ 4 ans il y a

A résolu


Monte-Carlo integration
Write a function that estimates a d-dimensional integral to at least 1% relative precision. Inputs: * d: positive integer....

environ 4 ans il y a

Réponse apportée
Cumulative Summation down a matrix in loop
matrixA = [0 0 0 -1 -1 -1 -1 1 0 -1 -1 -1 -1 -1 -1 -1 1 0 0 0]'; % for ref matrixB = [0 0 0 0 0.02 -12.09 6.61 1.1 0 0 -6.8 -26...

environ 4 ans il y a | 0

Réponse apportée
Why am I getting error "Array indices must be positive" and error in syms, when using eval function
I think it's because you need to make f, f2, and eqn2 functions of x (even though I drop eqn2) syms x f f2 % << here f(x) = ...

environ 4 ans il y a | 0

| A accepté

Réponse apportée
How to inverse matrix 128*6 in matlab?
u = [1, 1; ... 2, 2; ... 3, 3]; uInverse = flip(u) u = [1, 1; ... 2, 2; ... 3, 3]; u90 = rot90(u) ...

environ 4 ans il y a | 0

| A accepté

Charger plus