Community Profile

photo

Jesse


RMIT University

Last seen: 約3年 前 2013 年からアクティブ

Followers: 0   Following: 0

連絡

統計

All
  • First Review
  • Scavenger Finisher
  • Solver

バッジを表示

Feeds

表示方法

質問


Memory efficient options for storing multiple square matrices of unequal size
Hello MATLAB community, this is my first time asking a question on these forums. My problem is that in my codebase I requi...

4年以上 前 | 0 件の回答 | 0

0

回答

解決済み


How to subtract?
*&plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn &plusmn* * Imagine you need to subtract one...

6年以上 前

解決済み


Determine the square root
Determine the square root of the value the user has entered, n.

6年以上 前

解決済み


Divide by 4
Given the variable x as your input, divide it by four and put the result in y.

6年以上 前

解決済み


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

6年以上 前

解決済み


The Hitchhiker's Guide to MATLAB
Output logical "true" if the input is the answer to life, the universe and everything. Otherwise, output logical "false".

6年以上 前

解決済み


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

6年以上 前

解決済み


Unit Matrix
Given n, you should return an n-by-n unit matrix. Example: If input is n=2 then A = [ 1 0 0 1 ] If input ...

6年以上 前

解決済み


Free passes for everyone!
THIS PROBLEM IS TEMPORALLY DECOMMISSIONED WHILE IT IS UPDATED. PLEASE WAIT _Simply return the name of the coolest numerical c...

6年以上 前

解決済み


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

6年以上 前

解決済み


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

6年以上 前

解決済み


radius of a spherical planet
You just measured its surface area, that is the input.

6年以上 前

解決済み


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

6年以上 前

解決済み


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to <http://www.mathworks....

6年以上 前

解決済み


square number
Square a number

6年以上 前

解決済み


Is my wife right?
Regardless of input, output the string 'yes'.

6年以上 前

解決済み


The 5th Root
Write a function to find the 5th root of a number. It sounds easy, but the typical functions are not allowed (see the test su...

6年以上 前

解決済み


Predicting life and death of a memory-less light bulb
You have a light bulb that can fail any moment according to the exponential probability distribution. At any moment, the pro...

6年以上 前

解決済み


Energy of a photon
Given the frequency F of a photon in giga hertz. Find energy E of this photon in giga electron volts. Assume h, Planck's ...

6年以上 前

解決済み


Remove any row in which a NaN appears
Given the matrix A, return B in which all the rows that have one or more <http://www.mathworks.com/help/techdoc/ref/nan.html NaN...

7年以上 前

解決済み


Create times-tables
At one time or another, we all had to memorize boring times tables. 5 times 5 is 25. 5 times 6 is 30. 12 times 12 is way more th...

7年以上 前

解決済み


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Examp...

7年以上 前

解決済み


Fibonacci sequence
Calculate the nth Fibonacci number. Given n, return f where f = fib(n) and f(1) = 1, f(2) = 1, f(3) = 2, ... Examples: Inpu...

7年以上 前

解決済み


Pizza!
Given a circular pizza with radius z and thickness a, return the pizza's volume. [ z is first input argument.] Non-scored bonus...

7年以上 前

回答済み
vpasolve does not handle inequalities correctly
I have worked out the solution to this problem, and hopefully it will help others. First consider an (arbitrary) inequality ...

9年弱 前 | 1

質問


vpasolve does not handle inequalities correctly
Hello MATLAB community, I am currently experiencing a problem with vpasolve's handling of inequalities, mainly them not worki...

9年弱 前 | 2 件の回答 | 0

2

回答

解決済み


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

10年以上 前

解決済み


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

10年以上 前

解決済み


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

10年以上 前

解決済み


Add two numbers
Given a and b, return the sum a+b in c.

10年以上 前

さらに読み込む