Saleh Ibrahim
2022년부터 활동
Followers: 0 Following: 0
Feeds
문제를 풀었습니다
First use of arrayfun() and anonymous function @(x)
Create an anonymous function using @(x) for a parabola equation for the given coefficients stored in s with s(1)x2 + s(2)x + s(...
1년 초과 전
문제를 풀었습니다
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...
1년 초과 전
문제를 풀었습니다
Average of two numbers
Find the average of two numbers x1 and x2. For instance, if x1=7 and x2=19, the answer is 13.
1년 초과 전
문제를 풀었습니다
Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...
1년 초과 전
문제
Array Concatenation (2)
Given two matrices, a and b, concatenate the two matrices vertically, i.e., the number of rows of the result should be equal to ...
1년 초과 전 | 0 | 솔버 수: 72
문제를 풀었습니다
Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...
1년 초과 전
문제
Array Concatenation (1)
Given two matrices, a and b, concatenate the two matrices horizontally, i.e., the number of columns of the result should be equa...
1년 초과 전 | 0 | 솔버 수: 96
문제를 풀었습니다
Function substitution (2)
Evaluate the function for the given values of the variables N and t
1년 초과 전
문제
Function substitution (2)
Evaluate the function for the given values of the variables N and t
1년 초과 전 | 1 | 솔버 수: 43
문제를 풀었습니다
Function substitution (1)
Evaluate the function for the given values of the variables N and t
1년 초과 전
문제
Function substitution (1)
Evaluate the function for the given values of the variables N and t
1년 초과 전 | 0 | 솔버 수: 36
문제를 풀었습니다
Remainder
Use MATLAB help to find a suitable built-in function to find the remainder of dividing any non-negative integer, x, by 7. For in...
1년 초과 전
문제를 풀었습니다
Nearest integer
Use MATLAB help to find a suitable built-in function to approximate a given number to the nearest integer. For instance, 9.25 is...
1년 초과 전
문제를 풀었습니다
Absolute value
Use MATLAB help to find a suitable built-in function to find the absolute (positive) value of a given number. For instance |−5| ...
1년 초과 전
문제를 풀었습니다
Travel time
Calculate the time (in hours) it takes a car traveling at a given uniform speed of s km/hour to travel a distance of d km. For i...
1년 초과 전
문제
Travel time
Calculate the time (in hours) it takes a car traveling at a given uniform speed of s km/hour to travel a distance of d km. For i...
1년 초과 전 | 0 | 솔버 수: 42
문제를 풀었습니다
Circle area
Calculate the area of a circle given its radius, r. For instance, if r =3.5, the answer should be approximately 38.48
1년 초과 전
문제를 풀었습니다
Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81
1년 초과 전
문제를 풀었습니다
Average of five numbers
Find the average of a set of five numbers {x1,x2,x3,x4,x5}
1년 초과 전
문제
Mathematical formula
Find the value of the expression given the values of variables t and k. Assume g=9.81
1년 초과 전 | 1 | 솔버 수: 49
문제를 풀었습니다
Apply Function to Each Field of a Structure Array: Part 1
The builtin <http://www.mathworks.com/help/matlab/ref/structfun.html?=structfun structfun> applies a function handle to each fie...
1년 초과 전
문제를 풀었습니다
Define the operators of function_handles
Suppose f and g are function_handles, try to define f+g,f-g,f*g and f/g. e.g. if f = @(x)x and g = @(x)x+1 ...
1년 초과 전
문제를 풀었습니다
Two-output anonymous function?
Return a function handle that when applied to an input, it produces two outputs: the first is the same as the input, and the sec...
1년 초과 전
문제를 풀었습니다
Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...
1년 초과 전
문제를 풀었습니다
Apply a function array to an array of numbers
It is required to apply a cell array of functions to a numerical array, where the functions accept only scalar inputs. Exampl...
1년 초과 전
문제를 풀었습니다
Function composition
Write a function that accepts two function handles f and g and returns the composition h. That is, h = (f o g)(x) = f(g(x)) ...
1년 초과 전
문제를 풀었습니다
Compute the missing quantity among P, V, T for an ideal gas
Consider 100 mol of helium gas at a certain pressure (P), volume (V), and temperature (T). Assuming that the ideal gas law appli...
1년 초과 전
문제를 풀었습니다
What gear ratio does the cyclist need?
A cyclist (perhaps including our famed Codysolver the cyclist <http://www.mathworks.com/matlabcentral/cody/players/1841757-the...
1년 초과 전
문제를 풀었습니다
Electrical Diode Current Calculation
In engineering, there is not always a single equation that describes a phenomenon accurately enough to be applied in all instanc...
1년 초과 전
문제를 풀었습니다
An Ohm's Law Calculator
*BACKGROUND / MOTIVATION:* Many important observations in math and science can be described by short, but powerful, equations...
1년 초과 전