dareen
Followers: 0 Following: 0
Python, C++, C, Java, C#, MATLAB, SQL, Arduino
Spoken Languages:
English, Arabic
Pronouns:
She/her
Statistiken
RANG
235.002
of 290.069
REPUTATION
0
ANTWORTZUSTIMMUNG
83.33%
ERHALTENE STIMMEN
0
RANG
of 19.636
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Gelöst
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. Example...
30 Tage vor
Gelöst
Calculating distance of lightning based on time delay
If we know the time delay between when we see lightning and hear thunder then we can calculate approximate distance(in meters) o...
etwa ein Monat vor
Gelöst
finding vector pair with min angle between them
given a matrix with more than one row , compare row vectors of the given matrix and find the pair with the minumum angle between...
etwa ein Monat vor
Problem
finding vector pair with min angle between them
given a matrix with more than one row , compare row vectors of the given matrix and find the pair with the minimoum angle betwee...
etwa ein Monat vor | 0 | 6 Lösungsvorschläge
Frage
how to build a magic matrix manually of even n*n matrix?
i have written an alogorithm magic of odd order yet could not think of one for even order i i am starting to see a pattern fo...
etwa ein Monat vor | 3 Antworten | 0
3
AntwortenGelöst
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...
etwa ein Monat vor
Gelöst
Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...
etwa ein Monat vor
Gelöst
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]; ...
etwa ein Monat vor
Gelöst
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]
etwa ein Monat vor
Gelöst
Length of the hypotenuse
Given short sides of lengths a and b, calculate the length c of the hypotenuse of the right-angled triangle. <<https://i.imgu...
etwa ein Monat vor
Gelöst
Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displayed ...
etwa ein Monat vor
Gelöst
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...
etwa ein Monat vor
Gelöst
Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...
etwa ein Monat vor
Gelöst
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.
etwa ein Monat vor
Gelöst
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...
etwa ein Monat vor
Gelöst
Longest run of consecutive numbers
Given a vector a, find the number(s) that is/are repeated consecutively most often. For example, if you have a = [1 2 2 2 1 ...
etwa ein Monat vor
Gelöst
First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...
etwa ein Monat vor
Gelöst
Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...
etwa ein Monat vor
Gelöst
Set the array elements whose value is 13 to 0
Input A either an array or a vector (which can be empty) Output B will be the same size as A . All elements of A equal to 13...
etwa ein Monat vor
Gelöst
Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...
etwa ein Monat vor
Frage
what does this mean , how and for what is it used ?
while playing around in the command window with arrays and matrices i tried to print x=ones and it gave me an array of size 1*...
etwa ein Monat vor | 1 Antwort | 0
1
AntwortFrage
how does this work some clarification
can anyone explain how this solution work i tried to read documintations for this but did not really connect the dots https:/...
etwa ein Monat vor | 2 Antworten | 0
2
AntwortenGelöst
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
etwa ein Monat vor
Gelöst
Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...
etwa ein Monat vor
Gelöst
Sum of series
a(n) = n^2 - (n-1)^2 find the summation of the series upto n i.e. a(1)+a(2)+...+a(n)
etwa ein Monat vor
Gelöst
Find the maximum number of decimal places in a set of numbers
Given a vector or matrix of values, calculate the maximum number of decimal places within the input. Trailing zeros do not count...
etwa ein Monat vor
Frage
I am trying to solve the following problem and got stuck if you can give some guidance
Problem 713. Find the maximum number of decimal places in a set of numbers Find the maximum number of decimal places in a set...
etwa ein Monat vor | 1 Antwort | 0