Resuelto


Barnes G-Function
Evaluate the Barnes G-Function at a given (integral) value. %Example 1 in = 1; out = 1; %Example 1 in = 4; out = 2; ...

3 meses hace

Respondida
how to draw voronoi cells of each vertex bounded inside an area and obtain the values of each of the cell areas independently?
@Juan, I saw your question about drawing bounded Voronoi cells and calculating their areas independently. I've put together a co...

3 meses hace | 0

Respondida
Problems using Custom uORB Messages and Building PX4 SITL in WSL with MATLAB UAV Toolbox (v2024a, PX4 v1.14.3)
Hi @영준 김, I read your comments and spent some time digging through MathWorks UAV Toolbox documentation and various PX4 commun...

3 meses hace | 0

Resuelto


Sums of Multiple Pairs of Triangular Numbers
This is a follow-up to <https://www.mathworks.com/matlabcentral/cody/problems/44289 Problem 44289> - Find two triangular numbers...

3 meses hace

Resuelto


Recaman Sequence - I
Recaman Sequence (A005132 - <http://oeis.org/A005132 - OEIS Link>) is defined as follow; seq(0) = 0; for n > 0, seq(n) ...

3 meses hace

Resuelto


Recaman Sequence - II
Take an arbitrary starting point as input and create Recaman Sequence. Then find the 1, return its index. For example: if n =...

3 meses hace

Resuelto


Spot the First Occurrence of 5
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

3 meses hace

Respondida
Comparing classification performance using Friedman Test
Hi @MByk, You're actually doing this correctly, and contrary to common belief, MATLAB's multcompare function does perform the...

3 meses hace | 1

| aceptada

Respondida
When exporting a triangulation as an stl using stlwrite() the resulting stl is missing half of its faces.
Hi @Jacob, I can see from your attached image exactly what's happening. The yellow sections show valid triangulation on the g...

3 meses hace | 0

Respondida
real part of eigenvalues vs damping plot
Hi @Amira, I reviewed your code and did some research by going through mathworks documentations to find the root cause of you...

3 meses hace | 0

Respondida
Enter I-V curves data in Simscape IGBT block
Hi @Chwan-Hsen, I saw your question about entering the IGBT I-V curve data into Simscape and totally understand your frustrat...

3 meses hace | 0

| aceptada

Resuelto


Solitaire Cipher
Implement the <http://en.wikipedia.org/wiki/Solitaire_(cipher) solitaire cipher>. Since this is from Wikipedia, I am capturin...

3 meses hace

Respondida
How can I configure the IWR6843ISK radar to continuously chirp in order to capture phase-coherent data?
Hey Zahra, I've looked at both of your methods pretty carefully, and I think I can help clarify what's going on here. The sho...

3 meses hace | 0

Resuelto


Half?
If you toss an even number (x) of coins, what is the probability (y) of 50% head and 50% tail?

3 meses hace

Resuelto


Cos Function
x is the abscissa. find the absolute value of cosine of -x and the same value with changed sign.

3 meses hace

Resuelto


frame of the matrix
Given the matrix M, return M without the external frame.

3 meses hace

Resuelto


What's Your BMI?
Find the body mass index. For reference, please refer to Wikipedia here: <http://en.wikipedia.org/wiki/Body_mass_index body ...

3 meses hace

Resuelto


multiply by three
Given the variable x as your input, multiply it by 3 and put the result equal to y. Examples: Input x = 2 Output y is ...

3 meses hace

Resuelto


Sum the numbers on the main diagonal
Sum the numbers on the main diagonal of an n-by-n matrix. For input: A = [1 2 4 3 6 2 2 4 7]...

3 meses hace

Resuelto


Replacing a row
For matrix G=[1 2 3; 4 5 6; 7 8 9] Replace the 2nd row with 8s **remember to create matrix G

3 meses hace

Resuelto


Product of Array
Given an array of numbers. Get the product of the array.

3 meses hace

Resuelto


Find the Nth Root of a Given Number
Find the Nth root of a given number x. Examples x = 4096 n = 4 y = 8 x = 625 n = 5 y = 3.6239

3 meses hace

Resuelto


length of a vector
Find twice the length of a given vector.

3 meses hace

Resuelto


Compute a dot product of two vectors x and y
x and y are input vectors, d is a number and contains their dot product

3 meses hace

Resuelto


Sum of logarithms
Given a vector, v, of real positive numbers, compute the sum, s, of the base-10 logarithms of the elements of v, without the use...

3 meses hace

Resuelto


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

3 meses hace

Resuelto


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

3 meses hace

Resuelto


Remove the two elements next to NaN value
The aim is to *remove the two elements next to NaN values* inside a vector. For example: x = [6 10 5 8 9 NaN 23 9 7 3 21 ...

3 meses hace

Resuelto


Back to basics 25 - Valid variable names
Covering some basic topics I haven't seen elsewhere on Cody. Given a string, return true if it is a valid MATLAB variable nam...

3 meses hace

Resuelto


Back to basics 10 - Max Float
Covering some basic topics I haven't seen elsewhere on Cody. Return the largest positive floating-point number MATLAB can han...

3 meses hace

Cargar más