photo

Kylenino Espinas


Last seen: bijna 2 jaar ago Active since 2020

Followers: 0   Following: 0

Statistics

  • Thankful Level 3

View badges

Feeds

View by

Question


Trying to find empirical cdf
%Sn = X1 + X2 ... + Xn %Xi's are independent random variables %uniform on the interval [-a,a] a = 1; n1 = 4; n2 = ...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Trying to graph a cumulative distributive function with erf function, lost.
%Sn = X1 + X2 ... + Xn %Xi's are independent random variables %uniform on the interval [-a,a] a1 = 1; a2 = 5; a3 = 1...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Adding PMF of a binomial to a rng coin flip graph
P = 23/36; n = 10; %amount of flips done 1 million times arr = zeros(1,100); %array to store heads in n flips j = 1; while j...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Simulating 10 biased coin flips 100 times
n = 10; %amount of flips done 1 million times arr = zeros(n); %array to store heads in n flips toss = (U < 0.6388888888888); %...

meer dan 2 jaar ago | 1 answer | 0

1

answer

Question


Trying to make a piecewise function that isn't for graphing or using the piecewise function itself
function y = project2Tester(x) y = zeros(size(x)); x1 == (x <= -1); y(x1) = log(abs(x)); x2 == (-1 < x & x < 0...

bijna 4 jaar ago | 1 answer | 0

1

answer

Question


How would I remove certain values of an array and put it into another array?
function [microbeInd, noLifeInd] = semTest(semData) microbeInd = islocalmax(semData); noLifeInd(microbeInd) = []; end Af...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How do I create an array with the greatest values from two arrays?
function [semData] = semProcessing(raw1, raw2) if length(raw1) = length(raw2) lg = length(raw1); semData = zeros(1,lg);...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How do I make this function work for any matrix size?
%How do I change this function so that it works for matrices of any size? function [B] = Matrices(matrice) B = matrice; B...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How would I use loops to set certain values in a martix to 0?
I want to make a function that turns every value but the values in a diagonal shape for a matrice. function [X] = threeMatrice...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


Why does my code only come out with one result?
function [siftedData, siftedMean, siftedStd, siftedNorm] = project2(rawData, categories, selectedCategory) rawData(ca...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


If I have an array with values and then another array with each value's category, how would I remove values with certain categories?
%For example if Data = (1.2, 3.4, 6.7) Category = (1, 4, 1) %How would I remove 1.2 and 6.7 since they each have a cate...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How do I make the function return values only from the array?
function [selectedValues] = selectRandom( dataSet, numberSelected ) % selectRandom: Return numSel elements of input array data ...

ongeveer 4 jaar ago | 1 answer | 1

1

answer

Question


My function isn't returning an array for an answer with an input array
function [bodyMassIndex] = CalculateBMI(massKg, heightCm) % Define a function CalculateBMI % Input: massKg: Mass in kg % ...

ongeveer 4 jaar ago | 1 answer | 0

1

answer

Question


How do I use an indicator variable to select one of these 4 equations?
var1 = double; var2 = double; indicator = A = var1 * var2; %var 1 and var 2 are the sides Vcylinder = var1 * pi * ...

ongeveer 4 jaar ago | 1 answer | 0

1

answer