Riley
Followers: 0 Following: 0
code and code
Feeds
문제를 풀었습니다
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. E...
3년 초과 전
문제를 풀었습니다
Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.
3년 초과 전
문제를 풀었습니다
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...
3년 초과 전
문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
3년 초과 전
문제를 풀었습니다
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...
3년 초과 전
문제를 풀었습니다
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 ...
3년 초과 전
문제를 풀었습니다
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
3년 초과 전
문제를 풀었습니다
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
3년 초과 전
문제를 풀었습니다
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
3년 초과 전
답변 있음
matlab 2021b installed but not working
Uninstall MATLAB and delete the installation file thoroughtly. Then install it again.
matlab 2021b installed but not working
Uninstall MATLAB and delete the installation file thoroughtly. Then install it again.
3년 초과 전 | 0
답변 있음
Mathlab loops questıons about new starters
clear clc str = input('Enter name:','s') ; N = input('Enter N:') ; for i=1:N disp(str); end Try this. But as a starte...
Mathlab loops questıons about new starters
clear clc str = input('Enter name:','s') ; N = input('Enter N:') ; for i=1:N disp(str); end Try this. But as a starte...
3년 초과 전 | 1
| 수락됨
답변 있음
Help me find the index value for first minimum value in a matrix.
A=[ 34 67 78 88 4 15 23 67 78 56 3 2 24 67]; flag=0; for i=1:length(A)-1 if flag==0&&A(i+1)<A(i) flag=1; ...
Help me find the index value for first minimum value in a matrix.
A=[ 34 67 78 88 4 15 23 67 78 56 3 2 24 67]; flag=0; for i=1:length(A)-1 if flag==0&&A(i+1)<A(i) flag=1; ...
3년 초과 전 | 0
질문
How do I find cluster center of each cluster gained from Spectral Clustering?
Hi, I am using Spectral Clustering for data analysis recently and I found that Spectral Clustering function built in MATLAB only...
3년 초과 전 | 답변 수: 1 | 0