Professional Interests: finance, asset pricing, auction theory, differential equations

Answered

Turn logical matrix into string vector

(I wrote my answer as a comment above. Sorry. Here it is as a formal answer.) Of course, even if a solution does not appear to ...

Turn logical matrix into string vector

(I wrote my answer as a comment above. Sorry. Here it is as a formal answer.) Of course, even if a solution does not appear to ...

7 days ago | 0

Submitted

X-13 Toolbox for Seasonal Filtering

Matlab toolbox providing access to X-13 seasonal adjustment programs of the US Census Bureau.

26 days ago | 51 downloads |

Answered

how to reset drop down list(go to first option) when pushing any other button in App designer

Your ItemsData are strings app.ElementLisDropDown.ItemsData = {'1', '2', '3', '4', '5'}; but the value you assign is an intege...

how to reset drop down list(go to first option) when pushing any other button in App designer

Your ItemsData are strings app.ElementLisDropDown.ItemsData = {'1', '2', '3', '4', '5'}; but the value you assign is an intege...

4 months ago | 0

Answered

For loop: access values in between steps

for i = 1:3:100 %do something with rows 1, 4, 7, 10, ... end for i = 2:3:100 %do something with rows 2, 5, 9, 11, ...

For loop: access values in between steps

for i = 1:3:100 %do something with rows 1, 4, 7, 10, ... end for i = 2:3:100 %do something with rows 2, 5, 9, 11, ...

4 months ago | 0

| accepted

Submitted

Import PWT, MPD, and JST Databases

Downloads the Penn World Table, the Maddison Project Data, and the Jordà-Schularick-Taylor Data from the web.

1 year ago | 1 download |

Submitted

getxls

GETXLS is a GUI that allows you to easily transfer data from an Excel file into Matlab's workspace.

1 year ago | 5 downloads |

Question

Read VBA Module in Excel via ActiveX

I run ML 2019a. I know how to connect with the Excel COM server. I know how to read and write material from and into an Excel sp...

1 year ago | 0 answers | 0

Answered

how to add a separator line in popup uicontrol?

Here's a solution to this problem. function MyGUI hline = '--------------------------------'; % string for a h...

how to add a separator line in popup uicontrol?

Here's a solution to this problem. function MyGUI hline = '--------------------------------'; % string for a h...

5 years ago | 0

Submitted

logticks

logticks replaces the y-axis ticks of a logarithmic graph with the non-logarithmic values.

5 years ago | 2 downloads |

Question

copy a dynamicprops object by value

I've created a class that is a subclass of dynamicprops, classdef myclass < dynamicprops When I create an instance of t...

6 years ago | 0 answers | 0

Submitted

The X Collection

Collection of programs that ease interaction with Excel files.

6 years ago | 3 downloads |

Submitted

Straightforward COPY and PASTE functions

Allows very simple manual exchange with other applications through the clipboard.

6 years ago | 8 downloads |

Solved

Interpolator

You have a two vectors, a and b. They are monotonic and the same length. Given a value, va, where va is between a(1) and a(end...

9 years ago

Solved

So many choices

For inputs _n_ and _k_ (in that order), output the number of ways that k objects can be chosen from amongst n distinct objects. ...

9 years ago

Solved

Find the sum of the elements in the "second" diagonal

Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

9 years ago

Solved

Make one big string out of two smaller strings

If you have two small strings, like 'a' and 'b', return them put together like 'ab'. 'a' and 'b' => 'ab' For extra ...

9 years ago

Solved

Remove NaN ?

input -> matrix (n*m) with at least one element equal to NaN; output -> matrix(p*m), the same matrix where we deleted the enti...

9 years ago

Solved

De-dupe

Remove all the redundant elements in a vector, but keep the first occurrence of each value in its original location. So if a =...

9 years ago

Solved

the fly, the train, the second train, and their Zeno's paradox

*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...

9 years ago

Solved

System of equations

Find a solution to a system of equations represented by a |n| by |n+1| matrix. For instance, [ 2 0 4; => 2*x = 4 ...

9 years ago

Solved

Program an exclusive OR operation with logical operators

Program an exclusive or operation *without* using the MATLAB function xor. Use logical operators like |, &, ~, ... instead. ...

9 years ago

Solved

Right and wrong

Given a vector of lengths [a b c], determines whether a triangle with those sides lengths is a right triangle: <http://en.wikipe...

9 years ago

Solved

All your base are belong to us

Find the base _b_ logarithm of the input decimal number _x_. Express the output as a decimal number. The first argument is the n...

9 years ago

Solved

Triangle Numbers Below N

This is an offshoot of <http://www.mathworks.com/matlabcentral/cody/problems/5-triangle-numbers Cody Problem 5: Triangle Numbers...

9 years ago

Solved

Test for balanced parentheses

Given the input inStr, give the boolean output out indicating whether all the parentheses are balanced. Examples: * If ...

9 years ago

Solved

Sorting

Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

9 years ago

Problem

Sorting

Assume that x is an n-by-2 matrix. The aim is to return the first column of x, but sorted according to the second column. Exa...

9 years ago | 2 | 272 solvers

Solved

surface of a spherical planet

you just discovered its circumference, that is the input.

9 years ago