Community Profile

photo

Mark Smith


Last seen: 26 giorni fa Attivo dal 2019

Statistiche

All
  • Thankful Level 2
  • First Review
  • Solver
  • Thankful Level 1

Visualizza badge

Content Feed

Visto da

Domanda


AOCL Libraries version 4.1 were released in August 2023. Is there a problem with using them with Matlab of any version
I substituted the AOCL version 4.1 libraries for Blas and Libflame and have about a 10% max improvement over the use of Intel li...

5 mesi fa | 0 risposte | 0

0

risposte

Domanda


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

oltre 3 anni fa | 0 risposte | 0

0

risposte

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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

circa 4 anni fa

Risolto


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 4 anni fa

Risolto


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 4 anni fa

Risolto


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 4 anni fa

Risolto


ASCii Code
Using Matlab get the ASCii for '?'

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


Calculate the area of a circle
Given a circle of diameter x calculate its area

oltre 4 anni fa

Risolto


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.

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Risolto


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

oltre 4 anni fa

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

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

oltre 4 anni fa | 0

| accettato

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

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

oltre 4 anni fa | 0

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

oltre 4 anni fa | 0

Domanda


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

quasi 5 anni fa | 1 risposta | 0

1

risposta

Domanda


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

circa 5 anni fa | 0 risposte | 0

0

risposte