Community Profile

Joseph

Lucius Pitkin Inc

22 total contributions since 2013

View details...

Contributions in
View by

how to obtain the parameter estimates using maximum likelihood estimation?
Generalized linear models use maximum likelihood estimation. If you have the statistics toolbox, look at https://www.mathworks....

más de 3 años ago | 0

| accepted

Question

Is there a way in MATLAB coder to get a user to identify an Excel file, then read the contents of that Excel file?
I am trying to use MATLAB Coder to package a program that reads inputs from an excel file, does a calculation, plots results, an...

más de 3 años ago | 1 answer | 0

1

Question

How do I print a 1-inch by 1-inch square on a piece of paper?
I have been searching the help files and MATLAB Answers but my pictures are still coming out distorted.

casi 5 años ago | 1 answer | 0

1

Question

How do I plot a contour map on the surface of a 3-d surface?
The idea is similar to using "surf(X,Y,Z,C)" but I want contour lines in addition to the coloring provided by C. The contour lin...

casi 5 años ago | 1 answer | 0

1

Solved

Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

más de 5 años ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

más de 5 años ago

Help with a design project, dont know where else to go.
Start at your initial time with an initial position and velocity: Calculate air density, balloon volume, drag force, etc. Basic...

alrededor de 6 años ago | 0

Question

Parameter search limits for fitnlm
Is there a way to constrain the search for parameter values on fitnlm? I keep running into issues when trying to solve for 3 to...

alrededor de 6 años ago | 1 answer | 1

1

Question

Why does matrix power give wrong answer?
I am trying to do a MCMC simulation and need to calculate a small frequency event over a long time. To do this I need to raise ...

casi 7 años ago | 1 answer | 0

1

Question

Documentation text is on top of index text
Whenever I open up the help file, the text describing the function is always on top of the index making it impossible to read. ...

casi 7 años ago | 1 answer | 0

1

Solved

Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

casi 7 años ago

error Function definitions are not permitted in this context
- According to the documentation "expfit" does a maximum likelihood fit assuming the error follows an exponential distribution. ...

casi 7 años ago | 0

mex -setup disabled Matlab
I found the problem, Kapersky Anti-Virus 6.0 quarantined Matlab.exe after running the mex -setup command. After restoring the qu...

más de 7 años ago | 0

| accepted

Question

mex -setup disabled Matlab
I was trying to run the National Instruments example code to read a tdms file and I got an error saying something about an unrec...

más de 7 años ago | 2 answers | 0

2

Solved

Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

alrededor de 8 años ago

Solved

Given a and b, return the sum a+b in c.

alrededor de 8 años ago

Solved

Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

alrededor de 8 años ago

Solved

Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

alrededor de 8 años ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

alrededor de 8 años ago

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

alrededor de 8 años ago

Solved

Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

alrededor de 8 años ago

Solved

Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

alrededor de 8 años ago