Community Profile

photo

John


Last seen: 10 jours ago
59 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


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

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

12 mois 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?

environ un an 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...

plus d'un an 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...

plus d'un an ago | 0 answers | 0

0

answers

Answered
resulting neural network function
Use genFunction.

plus d'un an 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...

plus d'un an 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...

plus d'un an 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...

plus d'un an 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?

plus d'un an 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 ...

plus d'un an 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...

presque 2 ans 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 ...

plus de 2 ans 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...

plus de 2 ans 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*....

plus de 2 ans 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...

plus de 2 ans 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...

plus de 2 ans ago

Solved


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

plus de 2 ans 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 ...

plus de 2 ans 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. ...

plus de 2 ans 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.

plus de 2 ans ago

Solved


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

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

presque 3 ans 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}) ...

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

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

plus de 3 ans ago | 0

Solved


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

presque 4 ans 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...

presque 4 ans 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 ...

presque 4 ans 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

presque 4 ans ago

Load more