Feeds
문제를 풀었습니다
Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...
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 3 3 3 4...
4일 전
문제를 풀었습니다
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.
4일 전
문제를 풀었습니다
MATLAB 101: Hypotenuse Calculator
Write a MATLAB function that accepts the base and height of a right-angled triangle (or arrays of bases and heights) and returns...
4일 전
문제
MATLAB 101: Hypotenuse Calculator
Write a MATLAB function that accepts the base and height of a right-angled triangle (or arrays of bases and heights) and returns...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Rectangle Properties
Write a MATLAB function that accepts the length (L) and width (W) of a rectangle and returns two outputs: its area and its perim...
4일 전
문제
MATLAB 101: Rectangle Properties
Write a MATLAB function that accepts the length (L) and width (W) of a rectangle and returns two outputs: its area and its perim...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...
4일 전
문제
MATLAB 101: Reverse a Vector
Write a MATLAB function that takes a 1D vector (either a row or a column vector) and returns the vector with its elements in exa...
4일 전 | 0 | 솔버 수: 7
문제를 풀었습니다
MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...
4일 전
문제
MATLAB 101: Replace Negatives with Zero
Write a MATLAB function that takes a numeric array (vector or matrix) of numbers and replaces all negative numbers with zero. Po...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Count the Evens
Write a MATLAB function that accepts an array of integers and returns the total count of even numbers present in the array. Note...
4일 전
문제
MATLAB 101: Count the Evens
Write a MATLAB function that accepts an array of integers and returns the total count of even numbers present in the array. Note...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Scalar-Vector Multiplication
Write a MATLAB function that takes a numeric array (vector or matrix) v and a scalar multiplier s. The function should return a ...
4일 전
문제
MATLAB 101: Scalar-Vector Multiplication
Write a MATLAB function that takes a numeric array (vector or matrix) v and a scalar multiplier s. The function should return a ...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...
4일 전
문제를 풀었습니다
MATLAB 101: Basic Calculator
Write a MATLAB function named basic_calculator that accepts two input numbers, A and B, and returns four distinct outputs: The ...
4일 전
문제를 풀었습니다
MATLAB 101: Tribonacci Sequence
Each number in the Tribonacci series is the sum of the three preceding ones. Sequence: 0, 0, 1, 1, 2, 4, 7, 13, 24, 44, ... Writ...
4일 전
문제
MATLAB 101: Tribonacci Sequence
Each number in the Tribonacci series is the sum of the three preceding ones. Sequence: 0, 0, 1, 1, 2, 4, 7, 13, 24, 44, ... Writ...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Area of a circle
Write a MATLAB function named circle_area that accepts the radius r as an input and returns the area of the circle.
4일 전
문제를 풀었습니다
MATLAB 101: Multinacci Sequence Generator
Create a function that generates a sequence of length n based on the sum of the previous l terms. If l = 2, it acts like the Fi...
4일 전
문제
MATLAB 101: Multinacci Sequence Generator
Create a function that generates a sequence of length n based on the sum of the previous l terms. If l = 2, it acts like the Fi...
4일 전 | 0 | 솔버 수: 5
문제를 풀었습니다
MATLAB 101: Lucas Sequence
The Lucas sequence follows the same additive rule as Fibonacci, but starts with 2 and 1. Sequence: 2, 1, 3, 4, 7, 11, 18, 29, 47...
4일 전
문제
MATLAB 101: Lucas Sequence
The Lucas sequence follows the same additive rule as Fibonacci, but starts with 2 and 1. Sequence: 2, 1, 3, 4, 7, 11, 18, 29, 47...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Fibonacci Sequence
The Fibonacci sequence is defined by the rule that each number is the sum of the two preceding ones. Sequence: 0, 1, 1, 2, 3, 5,...
4일 전
문제
MATLAB 101: Fibonacci Sequence
The Fibonacci sequence is defined by the rule that each number is the sum of the two preceding ones. Sequence: 0, 1, 1, 2, 3, 5,...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...
4일 전
문제
MATLAB 101: Factorial Finder
The factorial of a non-negative integer n (denoted as n!) is the product of all positive integers less than or equal to n. For e...
4일 전 | 0 | 솔버 수: 6
문제를 풀었습니다
MATLAB 101: List Manipulation: Add and Remove
Create a MATLAB function that performs dynamic list operations on a cell array of strings. The function should accept the curren...
4일 전
문제
MATLAB 101: List Manipulation: Add and Remove
Create a MATLAB function that performs dynamic list operations on a cell array of strings. The function should accept the curren...
4일 전 | 0 | 솔버 수: 6











