Feeds
질문
My QR-decomposition code returns transpose of MATLABs Q, why?
clear clc %Create random integer dimensions m and n m=randi(100); n=randi(100); %Create A of random integer dimensions m ...
3년 초과 전 | 답변 수: 0 | 0
0
답변문제를 풀었습니다
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...
5년 초과 전
문제를 풀었습니다
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
5년 초과 전
문제를 풀었습니다
Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.
5년 초과 전
문제를 풀었습니다
Get the length of a given vector
Given a vector x, the output y should equal the length of x.
5년 초과 전
문제를 풀었습니다
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
5년 초과 전
문제를 풀었습니다
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
5년 초과 전
질문
How to interpolate an intermediate curve from curves with different number of data points?
Hello See the attached picture. The picture shows 4 stress-strain curves, each curve is for a different temperature. What I wan...
거의 6년 전 | 답변 수: 1 | 0
1
답변질문
Place MATLAB figures in image with placeholders for each figure
I am performing experiments that involves reading data from many sensors. Figures will be created that will represent the data f...
7년 초과 전 | 답변 수: 0 | 0
0
답변질문
Building vector with for- and if statements
My goal is to find all divisors of 30 and put them in a vector. My code right now looks like: k=[]; c=[1:1:30]; for...
대략 9년 전 | 답변 수: 1 | 0

