Community Profile

photo

Wiley Mosley


Last seen: 2년 초과 전 2018년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • Knowledgeable Level 1
  • First Answer
  • Introduction to MATLAB Master
  • Revival Level 1
  • CUP Challenge Master
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
How do I set a seed to generate different random initial numbers and storing them
rng(1,'twister'); % init generator for random repeatable with seed 1 s = rng; % save generator settings as s for kk = 1: Iter...

거의 4년 전 | 0

문제를 풀었습니다


Find the stride of the longest skip sequence
We define a _skip sequence_ as a regularly-spaced list of integers such as might be generated by MATLAB's <http://www.mathworks....

4년 초과 전

문제를 풀었습니다


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

4년 초과 전

답변 있음
Loop in solve system of nonlinear equations
By calling the index of R in the for loop you should be able to save the XYA in an array so that you have the solutions for all ...

4년 초과 전 | 0

답변 있음
disp gives wrong format
I was not able to recreate the issue that you described. One thing to note is depending on your settings it could be outputing a...

4년 초과 전 | 0

답변 있음
from python to matlab
https://www.mathworks.com/help/matlab/matlab-engine-for-python.html I believe you would want to utilize the matlab engine. If y...

4년 초과 전 | 0

| 수락됨

답변 있음
from python to matlab
I think you might want to check this out: https://www.mathworks.com/help/matlab/matlab_external/pass-data-to-matlab-from-python...

4년 초과 전 | 0

문제를 풀었습니다


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

4년 초과 전

문제를 풀었습니다


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

4년 초과 전

문제를 풀었습니다


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

4년 초과 전

문제를 풀었습니다


Check if number exists in vector
Return 1 if number _a_ exists in vector _b_ otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,...

4년 초과 전

문제를 풀었습니다


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

4년 초과 전

문제를 풀었습니다


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

4년 초과 전

문제를 풀었습니다


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...

4년 초과 전

답변 있음
Matlab Function in Simulink not allowing fortran scientific notation?
This was successfully addresed in a bug fix and update to 2019a.

거의 5년 전 | 0

| 수락됨

문제를 풀었습니다


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

대략 5년 전

문제를 풀었습니다


Return the first and last character of a string
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

대략 5년 전

문제를 풀었습니다


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

대략 5년 전

문제를 풀었습니다


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

대략 5년 전

문제를 풀었습니다


06 - Matrix Equations 3
Define the matrices _aMat_, _bMat_, and _cMat_: <<http://samle.dk/STTBDP/Assignment1_3a.png>> ( _aMat_ = 9x9 matrix full o...

대략 5년 전

문제를 풀었습니다


Rounding
Round 10.67 and make 'y' equal to that number.

대략 5년 전

문제를 풀었습니다


Determine Whether an array is empty
Input a matrix x, output y is TRUE if x is empty, otherwise FALSE.

대략 5년 전

문제를 풀었습니다


Count photos
Given n people, everyone must have pictures taken with everyone, each photo includes only two persons, please count the total nu...

대략 5년 전

문제를 풀었습니다


Reverse a matrix
Its simple. You have to reverse a given matrix.

대략 5년 전

문제를 풀었습니다


Implement simple rotation cypher
If given a letter from the set: [abc...xyz] and a shift, implement a shift cypher. Example: 'abc' with a shi...

대략 5년 전

문제를 풀었습니다


Matlab Basics - y as a function of x
Write a function to calculate y as a function of x, such that y = 6x^2 + 5x - 2

대략 5년 전

문제를 풀었습니다


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

대략 5년 전

문제를 풀었습니다


Deleting an element in a matrix
For vector Grades=[98 56 78 34 100 88 87], delete the number 78 to get the following matrix Grades=[98 56 34 100 88 87] **re...

대략 5년 전

문제를 풀었습니다


Geometric series
Find the sum, given the first term t1, the common ratio r, and number of terms n. Examples If input t1=1, r=1, n=7 the...

대략 5년 전

문제를 풀었습니다


Square a Number
Given an input x, return y, which is equal to the square of x.

대략 5년 전

더 보기