A résolu


Create a row array using double colon operator
Create a row array from 9 to 1, using the double colon operator.

plus de 9 ans il y a

A résolu


How to find the position of an element in a vector without using the find function
Write a function posX=findPosition(x,y) where x is a vector and y is the number that you are searching for. Examples: fin...

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Réponse apportée
How can I reopen or re-run a GUI figure once I closed the window?
This is not normal behaviour. It sounds like there may be an infinite loop somewhere in your code. Does it say "busy" in the bot...

plus de 9 ans il y a | 0

Réponse apportée
Trying to run Gauss Siedel method, I have no idea where I'm going wrong in this code. I get an error of "Index exceeds matrix dimensions" Not sure how? Just need this to run Thanks
You have to pre-initialize x1, x2, x3, errorx1, errorx2 and errorx3. The index exceeds the matrix dimensions, because you index...

plus de 9 ans il y a | 0

A résolu


Remove the vowels
Remove all the vowels in the given phrase. Example: Input s1 = 'Jack and Jill went up the hill' Output s2 is 'Jck nd Jll wn...

plus de 9 ans il y a

A résolu


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

plus de 9 ans il y a

A résolu


Circle area using pi
Given a circle's radius, compute the circle's area. Use the built-in mathematical constant pi.

plus de 9 ans il y a

A résolu


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

plus de 9 ans il y a

A résolu


Who Has the Most Change?
You have a matrix for which each row is a person and the columns represent the number of quarters, nickels, dimes, and pennies t...

plus de 9 ans il y a

A résolu


Return the 3n+1 sequence for n
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

plus de 9 ans il y a

A soumis


percentlabel
Converts axis tick labels and contour line labels to percentages

plus de 9 ans il y a | 1 téléchargement |

5.0 / 5

A soumis


digitizeImg
GUI for digitizing bitmap graphs.

plus de 9 ans il y a | 2 téléchargements |

4.5 / 5

A résolu


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

plus de 9 ans il y a

A résolu


Is this triangle right-angled?
Given three positive numbers a, b, c, where c is the largest number, return *true* if the triangle with sides a, b and c is righ...

plus de 9 ans il y a

A résolu


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

plus de 9 ans il y a

A résolu


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

A résolu


How do you make seven even?
Take away the s.

plus de 9 ans il y a

Problème


How do you make seven even?
Take away the s.

plus de 9 ans il y a | 1 | 75 solveurs

A résolu


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

plus de 9 ans il y a

A résolu


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

plus de 9 ans il y a

Réponse apportée
Write a function [M] = myMax(A), where M is the maximum value in an array A. Don't use the built-in MATLAB function max. Then write a function (M) = myNMax(A,N) where M is an array consisting of the N largest elements in A using the myMax function.
I'm assuming this is a homework assignment, so I won't give you a full answer. Here are some hints as to how you could do it: ...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
How do i set the axis labels to a specific size?
Try playing around with the XTick and YTick properties in the axes. You can save the XTick and YTick after creating the figur...

plus de 9 ans il y a | 0

Réponse apportée
Why does input() display this string improperly?
It must be a bug. It seems to be fixed in Matlab R2016b.

plus de 9 ans il y a | 1

| A accepté

A soumis


workspacesize
Checks total workspace size (used RAM in GB) or that of certain variables

plus de 9 ans il y a | 1 téléchargement |

5.0 / 5

Charger plus