Community Profile

photo

John


58 total contributions since 2014

Contact

John's Badges

  • Commenter
  • Thankful Level 2
  • Knowledgeable Level 1
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Question


Is it possible to load a variable that can not be cleared
I have a variable 'x' that is loaded using the startup file in ...\Documents\MATLAB\startup.m that executes the command load x...

2 months ago | 2 answers | 0

2

answers

Question


LTSM multiple input multiple output example
Is there an example of an LTSM with multiple inputs and multiple outputs?

5 months ago | 0 answers | 0

0

answers

Question


Design Time Series Time-Delay Neural Networks example errors
I want to utilize the Design Time Series Time-Delay Neural Networks FTDNN example to process doubles instead of cell arrays. Run...

6 months ago | 0 answers | 0

0

answers

Question


How to include Java class in standalone executable?
I am trying to build a standalone executable using MATLAB compiler. The compiler builds the package. However, when I run the .ex...

6 months ago | 0 answers | 0

0

answers

Answered
resulting neural network function
Use genFunction.

7 months ago | 0

| accepted

Question


resulting neural network function
How can the function and matrix of a neural network be retieved after training? After using the 'train' function, how can I expo...

7 months ago | 1 answer | 0

1

answer

Question


Preallocate memory for a cell of structures
What is the correct syntax to preallocate memory for the cell x in the following? N = 10; for n = 1:N numRows = ceil(10...

8 months ago | 1 answer | 0

1

answer

Question


Ignore or disable built in functions?
How can built in MATLAB functions be ignored? I have an imported Java class with a method named "status()". When I try to call i...

9 months ago | 1 answer | 0

1

answer

Question


Set MarkerFaceColor to be filled by default
How can MarkerFaceColor be set to take on whichever color MarkerEdgeColor is by default?

10 months ago | 1 answer | 0

1

answer

Question


What are the extra subdirectories returned by dir function?
When using the dir function, the first two elements returned have name field values of '.' and '..', which are determined to be ...

10 months ago | 2 answers | 0

2

answers

Question


remove character from csv file header
How can a file be opened, then remove a character and save the file? The attached csv file , test.csv, contains the following...

12 months ago | 1 answer | 0

1

answer

Solved


Fibonacci-Sum of Squares
Given the Fibonacci sequence defined by the following recursive relation, * F_n = F_(n-1) + F_(n-2) * where F_0 = 0 and F_1 ...

1 year ago

Solved


Golomb's self-describing sequence (based on Euler 341)
The Golomb's self-describing sequence {G(n)} is the only nondecreasing sequence of natural numbers such that n appears exactly G...

1 year ago

Question


How to write table to csv without date formatting
I have a cell *c* and an array *nums*, which are used to create a table *T*. The table is then written to a csv file *test.csv*....

1 year ago | 1 answer | 0

1

answer

Solved


Project Euler: Problem 2, Sum of even Fibonacci
Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 te...

1 year ago

Solved


Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
Given a number _n_, return the terminal value of the number chain formed by summing the square of the digits. According to the P...

1 year ago

Solved


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

1 year ago

Solved


Project Euler: Problem 6, Natural numbers, squares and sums.
The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

1 year ago

Solved


Return the Fibonacci Sequence
Write a code which returns the Fibonacci Sequence such that the largest value in the sequence is less than the input integer N. ...

1 year ago

Solved


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

1 year ago

Solved


radius of a spherical planet
You just measured its surface area, that is the input.

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

2 years ago

Question


How to add blank space using text function?
Using text function, x = 1; y = 1; str1 = '1 2 3 4 5 6 7 8 9'; str2 = '4 5 6'; text(x, y, {str1; str2}) ...

2 years ago | 1 answer | 0

1

answer

Answered
Matrices in a matrix
try % if A is 6x6 A = rand(6); A = repmat(A,3); % if R is 18x18, constructed from multiple 6x6 sub Rij matrices B...

2 years ago | 0

Answered
how to set an intervall to a given angle?
pi/1000 is the step size between points in the vector starting at 0 and ending at 40*pi.

3 years ago | 0

Solved


Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...

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

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

3 years ago

Solved


Sum of diagonal of a square matrix
If x = [1 2 4; 3 4 5; 5 6 7] then y should be the sum of the diagonals of the matrix y = 1 + 4 + 7 = 12

3 years ago

Solved


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

3 years ago

Load more