Wasi von Deutschland
Followers: 0 Following: 0
Feeds
提问
how to plot two different data in one figure
Hello, I would like to plot two different data in the same figure. For instance, first data is HH01OMC (1081 32) and second d...
7 years 前 | 1 个回答 | 0
1
个回答提问
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF, 4 GHI, 5 JKL, 6 MNO, 7 PQRS, 8 TUV, 9 WXYZ Hence, a phone-number specification can include uppercase letters and
REMAINING QUESTION: *digits. Write a function called dial that takes as its input argument a char vector of length 16 or less ...
7 years 前 | 3 个回答 | 0
3
个回答提问
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99. Write a function that is called this way: >> n = palin_product(dig,lim);
remaining question: *The function returns the largest palindrome smaller than lim that is the product of two dig digit numbers. ...
7 years 前 | 1 个回答 | 0
1
个回答提问
Write a function called year2016 that returns a row-vector of struct-s whose elements correspond to the days of a month in 2016 as specified by the input argument. If the input is not an integer between 1 and 12, the function returns the empty array.
This is my code. Could you please tell me function m = year2016 for i = 1:31 [MonthNumber, DateName] = ...
7 years 前 | 1 个回答 | 0
1
个回答提问
Write a function called integerize that takes as its input a matrix A of integers of type double, and returns the name of the “smallest” signed integer class to which A can be converted without loss of information. If no such class exists, the text '
function integerize(A) int8(A<2^7-1); int16(A<2^15-1); int32(A< 2^31-1); int64(A<2^63-1); end
7 years 前 | 6 个回答 | 0
6
个回答提问
max_product that t takes v as vector and n as positive integer
My code that's not working. Please help function [prodout,ind] = max_product(A,n) A=0; prodout = exp( c...
7 years 前 | 3 个回答 | 0
3
个回答提问
*** Write a function called triangle_wave that computes the sum (−1) sin(2 +1) (2 +1) for each of 1001 values of t uniformly spaced from 0 to 4π inclusive. The input argument is a scalar non-negative integer n, and the output argument is a row v
<</matlabcentral/answers/uploaded_files/78269/aaa.png>> this is my code and I need your help I couldn't figure out where I'm ...
7 years 前 | 3 个回答 | 0
3
个回答提问
Anyone could help me solving this problem or could you refer me to any video or link that can help. I have been trying to solve it for couple of hours. Your help will be appreciated.
<</matlabcentral/answers/uploaded_files/78247/PROBLEM%208.jpg>>
7 years 前 | 1 个回答 | 0
1
个回答提问
Write a function called approximate_e that uses the following formula to compute e, Euler’s number: = 1 ! ∞ = 1+1+ 1 2 + 1 6 + 1 24 +⋯ Instead of going to infinity, the function stops at the smallest k for which the approximation differs from
function [est, n ] = approximate_e( delta ) %APPROXIMATE_E Summary of this function goes here % Detailed explanation g...
7 years 前 | 5 个回答 | 0
5
个回答提问
The function move_me is defined like this: function w = move_me(v,a). The first input argument v is a row-vector, while a is a scalar. The function moves every element of v that is equal to a to the end of the vector.
function w=move_me(v,a) if w_1=v(v>a); w_2=v(v<a); w=[w_1 w_1 a]; end It does work for function when variabl...
7 years 前 | 5 个回答 | 0