Question

Parsing of financial data file that is very irregular in format

Thanks in advance for any responses. I am a retired engineer with some programming experience and am working to use Matlab for ...

2 months ago | 0 answers | 0

Solved

Column Removal

Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; ...

7 months ago

Solved

Select every other element of a vector

Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

7 months ago

Solved

Triangle Numbers

Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

7 months ago

Solved

Make a checkerboard matrix

Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

7 months ago

Solved

Create times-tables

At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

7 months ago

Solved

Determine if input is odd

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

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

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

8 months 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:...

8 months ago

Solved

Guess Cipher

Guess the formula to transform strings as follows: 'Hello World!' --> 'Ifmmp Xpsme!' 'Can I help you?' --> 'Dbo J ifmq zpv...

11 months ago

Solved

How to find the position of an element in a vector without using the find function

Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for.

11 months ago

Solved

Calculate Amount of Cake Frosting

Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

11 months ago

Question

SAVE command: How to specify the variable to be saved if it is a variable inside an array. assignin has been used to create the variable from a string in an array.

Thank you again for your help. I am downloading several FED bond data series. The data is returned in a 21 x 11 structure. Th...

12 months ago | 1 answer | 0

Answered

Are there any suggestions for writing files in a timewise sequential manner when the files are created by a parfor loop?

Edric Ellis provided a great answer in the first comment. I am using this "answer" so that I can accept the answer and close th...

Are there any suggestions for writing files in a timewise sequential manner when the files are created by a parfor loop?

Edric Ellis provided a great answer in the first comment. I am using this "answer" so that I can accept the answer and close th...

1 year ago | 0

| accepted

Question

Are there any suggestions for writing files in a timewise sequential manner when the files are created by a parfor loop?

Thank you for any comments and help you may have for my question. Please feel free to comment on coding inefficiencies, etc., t...

1 year ago | 1 answer | 0

Answered

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

Many thanks for the inputs. I am not new to coding but new to mallab. I am currently building an app to perform financial anal...

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

Many thanks for the inputs. I am not new to coding but new to mallab. I am currently building an app to perform financial anal...

1 year ago | 0

Answered

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

I took a rant and dpq was kind enough to respond maturely. I agree entirely with dpq and will continue to wade through the mora...

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

I took a rant and dpq was kind enough to respond maturely. I agree entirely with dpq and will continue to wade through the mora...

1 year ago | 0

Question

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

Take a look at any example and forward to me to prove me wrong.

1 year ago | 4 answers | 1

Question

Changing data type within a table from type table to any other data type

I have a table of stock market values of the following types: 4 columns of char data, 7 columns of "numeric" data , and 7 column...

1 year ago | 1 answer | 0

Question

How can font types be recognized to allow code to act on text of different font type in a scanned textual document

I am new to Matlab, feel free to abuse me. I have performed internet search and search in Mathworks resources on this subject a...

1 year ago | 0 answers | 0