Feeds
질문
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...
거의 5년 전 | 답변 수: 1 | 0
1
답변질문
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...
5년 초과 전 | 답변 수: 2 | 0
2
답변질문
LTSM multiple input multiple output example
Is there an example of an LTSM with multiple inputs and multiple outputs?
5년 초과 전 | 답변 수: 0 | 1
0
답변질문
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년 초과 전 | 답변 수: 0 | 0
0
답변질문
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년 초과 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
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...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
Set MarkerFaceColor to be filled by default
How can MarkerFaceColor be set to take on whichever color MarkerEdgeColor is by default?
거의 6년 전 | 답변 수: 2 | 1
2
답변질문
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 ...
대략 6년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 6년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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 ...
거의 7년 전
문제를 풀었습니다
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...
거의 7년 전
질문
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*....
거의 7년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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...
거의 7년 전
문제를 풀었습니다
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...
거의 7년 전
문제를 풀었습니다
Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...
거의 7년 전
문제를 풀었습니다
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 ...
거의 7년 전
문제를 풀었습니다
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. ...
거의 7년 전
문제를 풀었습니다
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.
거의 7년 전
문제를 풀었습니다
radius of a spherical planet
You just measured its surface area, that is the input.
대략 7년 전
문제를 풀었습니다
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...
대략 7년 전
질문
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년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
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...
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년 초과 전 | 0
답변 있음
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.
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.
대략 8년 전 | 0
문제를 풀었습니다
Roll the Dice!
*Description* Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. *Example* [x1,x2] =...
대략 8년 전
문제를 풀었습니다
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...
대략 8년 전
문제를 풀었습니다
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 ...
대략 8년 전
문제를 풀었습니다
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
대략 8년 전