Solved


Swap between first and last
The idea is to swap between first and last row Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

1 year ago

Solved


Swap between first and last column
The idea is to swap between first and last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 ...

1 year ago

Poll


Which of the following produces a false value?

1 year ago | 1324 votes | 2 comments

Answered
Smart Indenting now Removes Whitespace
Release 2024a includes a setting for this!! The following code will stop smart indenting from removing white space: s = setting...

1 year ago | 2

| accepted

Answered
Unwanted editor behavior: whitespace only lines trimmed
Release 2024a includes a setting for this!! The following code will stop smart indenting from removing white space: s = setting...

1 year ago | 1

Answered
Smart indent new bheaviour (removing whitespaces) is messing with Git
Release 2024a includes a setting for this!! The following code will stop smart indenting from removing white space: s = setting...

1 year ago | 1

Solved


Swap between rows
The idea is to swap between second and second last row Ex = [1 2 3 4 5; 5 4 3 2 1; 1 2 3 4 5; 1 2 3 4 5; ...

2 years ago

Solved


Swap between columns
The idea is to swap between second and second last column Ex = [1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; 1 2 3 4 5; ...

2 years ago

Solved


Remove a specific column with min value
Remove the column that contain the min value in the matrix?

2 years ago

Solved


Remove a specific column with max value
Remove the column that contain the max value in the matrix?

2 years ago

Solved


Remove a specific row with min value
Remove the row that contain the min value in the matrix?

2 years ago

Solved


Remove a specific row with max value
Remove the row that contain the max value in the matrix?

2 years ago

Solved


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

2 years ago

Solved


Summation of Non Zeros Numbers in String Variable
Find the Summation of Non Zeros Numbers in String Variable The input : x = '100205' The Output : y = 8

2 years ago

Solved


Range of Values in a Matrix
Create a function that accepts a matrix of real numbers as input and returns the range of the values contained in the matrix. Th...

2 years ago

Solved


Getting values from a vector
This exercise is for finding the values that meet your criteria. a = [-5 28 7 83 73]; b = 23 ; c = (a > b) Then : c = ...

2 years ago

Solved


Create rectangular function.
Rectangular function - Wikipedia

2 years ago

Solved


Determine pressure altitude using field elevation and altimeter setting
Given an airfield's elevation in feet (ft) and the current altimeter setting in inches of mercury (inHg), calculate the pressure...

2 years ago

Solved


Determine ground distance from an aircraft to a DME station
In aviation, distance measuring equipment (DME) uses radio signals to determine slant distance from an aircraft to a ground stat...

2 years ago

Solved


Basic Matlab Operation Bonanza
Given a horizontal array of numbers, perform the following operations, in order: transpose, flip matrix horizontally, flip matri...

2 years ago

Solved


nxn matrix with elements from 1:n^2
really simple once you see what the matrix is supposed to look like. i appreciate what seems to be a clever approach to solving ...

2 years ago

Solved


ベクトルを作成する
0 から n までのベクトルを 2 間隔で作成します。

2 years ago

Solved


Determine if a number is a cool number
A number is considered cool if it is 3 digits, has a 5 in it, and is divisible by 4.

2 years ago

Solved


Sum of squares
Given a number n, return the sum of squares of all integers from 1 to n.

2 years ago

Solved


Palindrome vector
Check if a given vector is Palindrome. Example, [1 2 54 32 45 5 33 456 45 456 33 5 45 32 54 2 1]

2 years ago

Solved


Palindrome String
Determine if the inputted string is a palindrome. That is, the string is the same forwards as it is backwards. For example: ...

2 years ago

Load more