![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/31842925_1698243623225_DEF.jpg)
dareen
Followers: 0 Following: 0
Programming Languages:
Python, C++, C, Java, C#, MATLAB, SQL, Arduino
Spoken Languages:
English, Arabic
Pronouns:
She/her
Python, C++, C, Java, C#, MATLAB, SQL, Arduino
Spoken Languages:
English, Arabic
Pronouns:
She/her
Feeds
질문
the use of field graphing tools
K = 8.99e9; % Input the number of charges n = input('Enter number of charges: '); % Initialize arrays to store charge val...
대략 1개월 전 | 답변 수: 0 | 0
0
답변질문
what's the reason for getting an output at the point itself though it is not in range
i have used taylor series to find the first derivative of the following function cos(x) and got 2 diffrent approximations , i ...
대략 2개월 전 | 답변 수: 1 | 0
1
답변질문
how to get fit coefficients and the file name ?
there is a particular feature that i needed a couple of times now but i am failing at finding something to implement it inducto...
2개월 전 | 답변 수: 1 | 0
1
답변질문
fitting a graph and coloring each fit
i wrote the following code % Color settings r_220_w = [10.78, 20.33, 24, 27.7, 35.86, 32.5, 33.2, 30.75, 36.83, 33.44, 32.8, ...
2개월 전 | 답변 수: 1 | 0
1
답변질문
how to delete nan values from array columns without losing data from other columns
i have a huge file from a lab expremient every run gives me 4 columns and every 2 out of the 4 start with nan then 2 nan v...
4개월 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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...
5개월 전
문제
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...
5개월 전 | 0 | 솔버 수: 6
질문
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...
5개월 전 | 답변 수: 3 | 0
3
답변문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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 = ...
5개월 전
문제를 풀었습니다
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]; ...
5개월 전
문제를 풀었습니다
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]
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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 ...
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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.
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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 ...
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
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: ...
5개월 전
문제를 풀었습니다
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...
5개월 전
문제를 풀었습니다
Create an arrow matrix
An arrow matrix is a square matrix that contains ones on the diagonal, the last column, and last row. ...
5개월 전
질문
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*...
5개월 전 | 답변 수: 1 | 0
1
답변질문
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:/...
5개월 전 | 답변 수: 2 | 0
2
답변문제를 풀었습니다
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
5개월 전