A résolu


Triple function composition
Given three functions f,g and h, create the composed function y=f(g(h)). Example f = @(x) x+1 g = @(x) x/2 h = @(x) ...

presque 6 ans il y a

Question


Global sensitivity analysis (moment based)
Is there any built-in matlab function for global sensitivity analysis (moment based like AMA) ?

presque 6 ans il y a | 1 réponse | 0

0

réponse

Réponse apportée
Data interpolation using ANN
For Interpolation, try scatterdata interpolation For ANN, Simply go to APPS>Machine learning>Regression learner. Choose ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
How to make plot smooth when we can not increase the x and y variables.
Instead of linear interpolation in the plot, try a spline interpolation? xx=linspace(min(x),max(x),50); yy=interp1(x,y,xx,'spl...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Plotting two vectors as a function of each other
I think, you have two simple options: use the scatter plot. i.e scatter(x,y) sort the data and then use plot. i.e te...

presque 6 ans il y a | 0

A résolu


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

presque 6 ans il y a

A résolu


Count me in
Count the number of occurrences of the second input in the first input Ex. x1 = 12344455511; x2 =2; output = 1 ...

presque 6 ans il y a

A résolu


Add Me To Death (Sum sum sum)
Given certain vector, sum of the input vector, get the sum of 2 adjacent numbers in the input, and sum of the output vector (wh...

presque 6 ans il y a

A résolu


Basic commands - amount of inputs
Make a function, which will return amount of given inputs Example: amountinput(1,2,4,3,10) -> 5 , because we gave functio...

presque 6 ans il y a

A résolu


Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

presque 6 ans il y a

A résolu


Wrapping the Tower of Pisa
The famous artist Christo Vladimirov Javacheff, who likes pizza, wants to wrap the well-known Italian tower in paper. It is a ci...

presque 6 ans il y a

A résolu


Magnitude of a vector
Given a vector x, what is its magnitude?

presque 6 ans il y a

A résolu


find "greatest common divisor" of two integer value
A function to find Greatest Common Divisor of two integer input E.G. x=-18 y=96 output should be +6 x=-18; y=96; >>your...

presque 6 ans il y a

A résolu


Halder function
Find the halder function value of a number

presque 6 ans il y a

A résolu


Sum of digit range
Example: If A is n1, and B is n2 digit positive numbers. A*B's digit range will be [c d] (c = min & d = max). Then return ...

presque 6 ans il y a

A résolu


Removing vibration!
There are [y] that vary with [x] but y including small useless vibration. x=1:10 y=[1.71 2.03 3.28 4.05 5.10 6.82 7.69 8.3...

presque 6 ans il y a

A résolu


Xor of matrix
you have to set exclusive OR of two arrays

presque 6 ans il y a

A résolu


means
Calculate the arithmetic, the geometric and the harmonic mean of a given vector (with positive elements) and return them in a ve...

presque 6 ans il y a

A résolu


Average valid values of arrays
Given a 1D array (column or row vector), compute the average of valid values. Valid values are defined via two thresholds: minVa...

presque 6 ans il y a

A résolu


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

presque 6 ans il y a

A résolu


mathematics , probability problem
How many different result can we have, rolling k dice?

presque 6 ans il y a

A résolu


Find smallest number to leave a remainder of 1
given a vector of numbers, find the smallest number to be divisible by all of them with a remainder of 1. Note: input numbers wi...

presque 6 ans il y a

A résolu


Return the sequence element I
Given a positive integer, x, return a positive integer, y, which is the xth term in the sequence [1 2 2 3 3 3...], in which one ...

presque 6 ans il y a

A résolu


Probability of Choosing a Red Ball
Given two jars of red and blue balls, find the probability of choosing a red ball from Jar 1 after going through the steps. ...

presque 6 ans il y a

A résolu


Is this is a Tic Tac Toe X Win?
For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

presque 6 ans il y a

A résolu


Pentagonal Numbers
Your function will receive a lower and upper bound. It should return all pentagonal numbers within that inclusive range in ascen...

presque 6 ans il y a

A résolu


I Plead the Fifth
Write a function to provide a yes or no answer to the input string. However, it must plead the 5th amendment (return an empty st...

presque 6 ans il y a

A résolu


The Top 5 Primes
This problem series invites you to solve two simple problems related to the integer NUMBER FIVE, in order to celebrate <https://...

presque 6 ans il y a

A résolu


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

presque 6 ans il y a

A résolu


Change string to number
Change given string to number. (hint: there is already function) Changing from ['1234'] to [1234] is one of example

presque 6 ans il y a

Charger plus