已解决


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

2 years 前

已解决


Project Euler: Problem 8, Find largest product in a large string of numbers
Find the greatest product of five consecutive digits in an n-digit number. 73167176531330624919225119674426574742355349194934...

2 years 前

已解决


Project Euler: Problem 7, Nth prime
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13. What is the Nth prime numb...

2 years 前

已解决


Stress-Strain Properties - 5
Similar to the previous problem, materials may be characterized by their stiffness-to-weight ratio, which is the elastic modulus...

2 years 前

已解决


Stress-Strain Properties - 4
A common measure of the ability of a material to carry load per unit mass is termed strength-to-weight ratio and is calculated b...

2 years 前

已解决


Stress-Strain Properties - 3
A brittle material will not exhibit a yield point. In other words, the yield point and failure point coincide. In such cases, th...

2 years 前

已解决


Stress-Strain Properties - 2
The resilience of a material is its ability to resist permanent (or plastic) deformation. The resilience coincides with the elas...

2 years 前

已解决


Stress-Strain Properties - 1
This is the first in a series of problems regarding mechanics of materials, in particular, material properties drawn from stress...

2 years 前

已回答
Change the editor layout
Home>Environment>Preferences>Toolbars Then find the section you want to modify under 'Controls:' and: to add just use the che...

2 years 前 | 0

已回答
Disable the gpu.
the command: gpuDevice([]); should do the trick. Mind that it requires that the Parallel Computing Toolbox is installed. Fo...

2 years 前 | 0

已回答
Generating sequence of random numbers with a number of exceptions
could you clarify what do you mean by timepoint? once you do that i will tweak my suggestion accordingly. For now: eightRandT...

2 years 前 | 0

已解决


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

2 years 前

已解决


Sum of series IV
What is the sum of the following sequence: Σ(-1)^(k+1) (2k-1)^2 for k=1...n for different n?

2 years 前

已解决


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

2 years 前

已解决


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

2 years 前

已解决


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

2 years 前

已解决


Triangle sequence
A sequence of triangles is constructed in the following way: 1) the first triangle is Pythagoras' 3-4-5 triangle 2) the s...

2 years 前

已回答
Is MATLAB R2016a compatible with Code Composer Studio v7?
the first matlab version which officially supports CCS is R2017b, as specified on mathworks website here.

2 years 前 | 0

提问


git integration in matlab
i'm using git versioning embedded in matlab since a couple of weeks. Since i'm used to linux console commands i prefer to input ...

2 years 前 | 1 个回答 | 1

1

个回答

已回答
how to know if I can use parfor
to use parfor() you need either a Matlab coder software (so standalone code) or the Parallel Computing Toolbox. Other than that ...

2 years 前 | 1

已回答
Why subsystem reference loads all included subsystems in memory after openning top model?
A subsystem can be virtual or non-virtual. A virtual subsystem is just a graphical thing, so it actually is on the same level a...

2 years 前 | 0

| 已接受

已解决


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

2 years 前

已解决


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

2 years 前

已解决


Project Euler: Problem 1, Multiples of 3 and 5
If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23...

2 years 前

已解决


Oh Zero Zero Zero!!!
Hello all, So you have to find the largest section of zeros in a vector and then find the length of those zeros and there start...

2 years 前

已解决


Create a vector whose elements depend on the previous element
The idea is to create a vector A whose elements depend on the previous element : *A(i+1) = 2*A(i)+1* *2 Inputs*: - A : The...

2 years 前

已解决


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

2 years 前

已解决


Unique values without using UNIQUE function
You must return unique values in a vector in *stable* mode without using the unique function. About stable order flag: ...

2 years 前

已解决


Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...

2 years 前

已解决


Determine the number of odd integers in a vector
Determine the number of unique odd integers in a vector. Examples: Input x = [2 5 8 3 7 1]; Output y = 4; Inp...

2 years 前

加载更多