Gelöst


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

mehr als 5 Jahre vor

Frage


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

mehr als 5 Jahre vor | 0 Antworten | 0

0

Antworten

Beantwortet
Data interpolation using ANN
For Interpolation, try scatterdata interpolation For ANN, Simply go to APPS>Machine learning>Regression learner. Choose ...

mehr als 5 Jahre vor | 1

| akzeptiert

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

mehr als 5 Jahre vor | 0

| akzeptiert

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

mehr als 5 Jahre vor | 0

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


Halder function
Find the halder function value of a number

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Gelöst


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

mehr als 5 Jahre vor

Mehr laden