Gelöst


Automatic String Editing
In this function, you will take an incoming string, and output the same string with each character one letter later in the alpha...

fast 3 Jahre vor

Gelöst


Double Factorial
Return double factorial n(n-2)...(5)(3)(1), n>0, odd n!! = n(n-2)...(6)(4)(2), n>0, even 1 ...

fast 3 Jahre vor

Gelöst


factorial
calculate x!

fast 3 Jahre vor

Gelöst


PIN code

fast 3 Jahre vor

Gelöst


Determine if a four bar mechanism is of Grashof type
A four bar mechanism is composed of four links. if s is the smallest link, l the longest and p,q are the length of the other lin...

fast 3 Jahre vor

Gelöst


Replicate and Tile an Array
Replicate and tile an array. Example A = [1 2 3; 4 5 6; 7 8 9] B = Epli_and_Tile(A,1,2) B = [ 1 2 3 1...

fast 3 Jahre vor

Gelöst


DC-DC boost converter
Find the output voltage of a DC-DC boost converter given input voltage and the duty cycle ratio

fast 3 Jahre vor

Gelöst


Low level NaN
I have a dataset. Columns represents different variables. A variable may start with NaN or any double type number. If it start...

fast 3 Jahre vor

Gelöst


Case-insensitive Character Detection
Find the index of a particular character in a string ignoring case. Example Input: x = 'aAbhhfdf' n = 'a' ...

fast 3 Jahre vor

Gelöst


Matrix Generation.
if input n =1, generate a matrix y = [1]

fast 3 Jahre vor

Gelöst


Splitting Square - Problem the first

fast 3 Jahre vor

Gelöst


jogging?
Imagine x-y coordinate system and you are at the origin and your partner is on the x-axis at some small distance (d) away from y...

fast 3 Jahre vor

Gelöst


Swap

fast 3 Jahre vor

Beantwortet
How would I remove multiple specific elements from an array.
If I have understood correctly, you could replace your second-last line of code with B(B==r) = [] Data = [923 916 932 927 908 9...

fast 3 Jahre vor | 0

Beantwortet
is it possible to add simulink function in customized library?
You could add to a custom library a chart with your simulink function and then use this chart as base for your stateflow charts....

fast 3 Jahre vor | 0

Gelöst


Minimum possible M of the maximum side of a triangle of given area A.
Suppose a triangle has area A. Suppose it has three sides S1, S2, and S3. Suppose M = max([S1 S2 S3]). What is the minimum po...

fast 3 Jahre vor

Beantwortet
Unrecognized function or variable 'a'.
Hi Dao, you have to add a, b and c in syms command: syms x y z a b c f = (a*x + b*y + c*z) * (asin(x*y*z)); disp('Dao ham r...

fast 3 Jahre vor | 0

Beantwortet
How to safe data from multiple "To Workspace " blocks in one Matrix
Hi Dan, If I have understood correctly, you want solve the issue on simulink and not in post processing on MATLAB. In this case...

fast 3 Jahre vor | 0

| akzeptiert

Gelöst


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

fast 3 Jahre vor

Gelöst


Average of even-numbered columns
Given a vector, find the average of even-numbered columns. e.g x = [ 4 6 8 9 1 2 7 ] y = ( 6 + 9 + 2 ) / 3

fast 3 Jahre vor

Gelöst


Check availability of a number in an array
An array is given A=[1 2 3 4 5 7 8 9 10]. Find whether the number n is present in given array or not. If the number n is prese...

fast 3 Jahre vor

Gelöst


Joules to Megatons of TnT
Given joules, J, make a function that converts to megatons of TNT.

fast 3 Jahre vor

Gelöst


Analyze observation data
Suppose you have the following data (A,B,C) in three-column format. A B C -------------------------- t=1 ...

fast 3 Jahre vor

Gelöst


Replace x value into y value in string text.
Replace x value into y value in string text. Example text='Hello World' x='World', y='Universe' result='Hello Universe'.

fast 3 Jahre vor

Gelöst


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

fast 3 Jahre vor

Gelöst


Remove multiples of N
in the vector x remove all multiples of N. x = [1 2 3 4 5 6]; N = 2; Then y = [1 3 5];

fast 3 Jahre vor

Gelöst


concatenate the elements
you should concatenate the elements of a matrix in one dimensional array, for example if the input is A = [1 2 3; 4 5 6; 7 ...

fast 3 Jahre vor

Gelöst


Geometric Series
Given x and n, give the sum of x ^ 1 to x ^ n. You should not have to use a loop for this.

fast 3 Jahre vor

Gelöst


Probability of red tulips
I hope to give you bulbs of tulip. But I do not know the color of those petals. I just know that the color is red, white or yell...

fast 3 Jahre vor

Gelöst


Compute the harmonic numbers
The nth <https://mathworld.wolfram.com/HarmonicNumber.html harmonic number> is defined as the sum of the reciprocals of the inte...

fast 3 Jahre vor

Mehr laden