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

oltre 2 anni 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...

oltre 2 anni 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.

circa 4 anni 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...

circa 4 anni 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...

circa 4 anni ago

Solved

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

circa 4 anni 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...

circa 5 anni 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...

circa 5 anni 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 ...

circa 6 anni 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. ...

circa 6 anni 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...

circa 6 anni 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. ...

circa 6 anni 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...

oltre 6 anni 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...

oltre 6 anni 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...

circa 7 anni ago

Solved

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

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

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

circa 7 anni 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:...

circa 7 anni ago

Solved

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

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

circa 7 anni 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,...

circa 7 anni ago