Community Profile

photo

John


Last seen: 2 years ago Active since 2014

Statistics

All
  • Commenter
  • Thankful Level 3
  • Knowledgeable Level 1
  • First Answer
  • Scavenger Finisher
  • Solver

View badges

Content Feed

View by

Question


load global variable from startup.m
Is it possible to dfine a global variable using ...\Documents\MATLAB\startup.m? I would like to define frequently used variables...

4 years ago | 1 answer | 0

1

answer

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

4 years 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 years ago | 0 answers | 1

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

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

5 years ago | 1 answer | 0

1

answer

Answered
resulting neural network function
Use genFunction.

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

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

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

5 years 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?

5 years ago | 1 answer | 1

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

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

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

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

6 years 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*....

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

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

6 years ago

Solved


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

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

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

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

6 years ago

Solved


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

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

6 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}) ...

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

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

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

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

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

7 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

7 years ago

Load more