Jorge Briceño
Followers: 0 Following: 0
Statistics
RANK
6,178
of 295,467
REPUTATION
8
CONTRIBUTIONS
1 Question
5 Answers
ANSWER ACCEPTANCE
0.0%
VOTES RECEIVED
3
RANK
of 20,234
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 153,912
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
Number of first days of the month equals to Mondays
Hello guys, I have an assignment that states: "Write a function called day_counter that returns the number of Mondays that fe...
6 years ago | 4 answers | 0
4
answersWrite 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 '
Hi, Another answer would be like this: function [ smallA ] = integerize( A ) minimum = min(A(:)); maximum = max(A(:));...
7 years ago | 0
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.
Hi, This answer might be helpful: function w= move_me(v,a) % The first input argument v is a row-vector, while a is a s...
7 years ago | 0
c0 and x are scalars, c - vector, and p - scalar. If c is [ ], then p = c0. If c is a scalar, then p = c0 + c*x . Else, p =
Here is my solution: function p = poly_val(c0,c,x) format long n=(1:1:length(c)); c=c(:)' & This part converts any array...
7 years ago | 1
Write a function called one_per_n that returns the smallest positive integer n for which the sum 1 + 1/2 + 1/3 + … + 1/n , is greater than or equal to x where x is the input argument. Limit the maximum number n of terms in the sum to 10,000 .
Hello Nava, Maybe you could also try to simplify your code. Here is my example: function out = holiday (m, d) if (m==1 ...
7 years ago | 0
How do you have a logical operator of true and false as your type but 0 and 1 as your value?
Hi Alexandra, Maybe another alternative would be: function [isEligible]=eligible( v,q ) Your_Output_Name= v>88 && q>...
7 years ago | 2