Sophie Culhane
Followers: 0 Following: 0
Statistica
22 Domande
0 Risposte
RANK
64.858
of 295.467
REPUTAZIONE
0
CONTRIBUTI
22 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
40.91%
VOTI RICEVUTI
0
RANK
of 153.912
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
How to Assign a Variable Name to a Point in a Matrix
I am trying to assign variable name 'centersquare' to the center point in an NRows x NCols matrix. In my program, I had the cent...
quasi 4 anni fa | 1 risposta | 0
1
rispostaDomanda
MATLAB Function Finds The Derivative and Evaluates at Point A
My task is to write a MATLAB function that calculates the derivate of a polynomial, represented in vector form, and then also ev...
quasi 4 anni fa | 0 risposte | 0
0
risposteDomanda
MATLAB Function Generates the Vertices of a Regular N-gon with Line Segments
My task is to write a MATLAB function that generates the verticies of a regular n-gon and draws a line segment between each pair...
quasi 4 anni fa | 2 risposte | 0
2
risposteDomanda
Function Calculates the Probability of a Fibonacci Number
My task is to write a function that calculates the probability the the k-th digit of a Fibonacci Number in B is d. The elements ...
circa 4 anni fa | 0 risposte | 0
0
risposteDomanda
Function Calculates Fibonacci Numbers
My task is to write a function that calculates the nth Fibonacci number by making a call to 'nniadd', a program I have previousl...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Function Finds the Prime Factorization of An Integer Greater than 1
My task is to create a function that finds the prime factorization of an integer greater than 1. n is a positive integer and v i...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Function Subtracts Two Nonnegative Integers
My task is to create a MATLAB function that subtracts two nonnegative integers. x, y, and x_minus_y are row vectors representing...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Roll a 6-Sided Die and Compute the Probability of the Sum (with bar graph)
My task is to write a function that simulates rolling a pair of 6-sided dice n times and uses this data to approximate probabili...
circa 4 anni fa | 3 risposte | 0
3
risposteDomanda
Generate and Plot N Points Picking Random Points on Triangle
My task is to write a function that takes as input a positive integer n. We are asked to consider the traingle whose corner poin...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Function takes as input two nonempty matrices A and B and returns the product AB
My task is to write a MATLAB function that takes as input two nonempty matrices A and B and returns the product AB where the num...
circa 4 anni fa | 2 risposte | 0
2
risposteDomanda
Roll a die until n consecutive rolls have the same value
Let n be a positive integer. We plan to roll a fair 6-sided die until n consecutive rolls have the same value. My task is to wri...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
MATLAB function adds two nonnegative integers where x has at least as many digits as y
My task is to write a MATLAB function that adds two nonnegative integers, assuming that x has at least as many digits as y. x,y,...
circa 4 anni fa | 2 risposte | 0
2
risposteDomanda
Randomly chooses points from a triangular region and stores the x and y coordinates
My task is to write a MATLAB function where b and h are positive real numbers, n is a positive integer, and x and y are row vect...
circa 4 anni fa | 5 risposte | 0
5
risposteDomanda
MATLAB Function Takes as Input Two Positive Integers and Returns a Matrix
Write a MATLAB function that takes as input two positive integers and returns a matrix. Given positive integers m and n, hw21 cr...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Rolling a Fair 6-Sided Die Until Two Consecutive Rolls Have the Same Value
My task is to simulate rolling a fair 6-sided die until two consecutive rolls have the same value and write a function that appr...
circa 4 anni fa | 2 risposte | 0
2
risposteDomanda
Largest Value from the Row Sums of A
I am to write a MATLAB function that takes as input a nonempty 2-dimensional array A and returns the largest value from the row ...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Column Vector Containing the Row Sums of the Elements of A
My task is to write a MATLAB function that takes as input a nonemty 2-dimensional array A and returns a column vector containing...
circa 4 anni fa | 3 risposte | 0
3
risposteDomanda
Finding Nonzero Elements in a Vector
In a assignment I am working on, we are tasked with writing a MATLAB function that takes as input a nonempty vector v and return...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Inputs a Vector and Returns the Second Smallest Element
I am writing a script that takes as input a nonempty vector v and returns the second smallest element. I have a block of code wr...
circa 4 anni fa | 1 risposta | 0
1
rispostaDomanda
Factorial without the Command
I am struggling to figure out how to compute a factorial without the use of the command. My task is to input a nonnegative integ...
circa 4 anni fa | 4 risposte | 0
4
risposteDomanda
Sum of the squares of the negative elements of vector v
Write a MATLAB function that takes as input a non-empty vector v and returns the sum of the squares of the negative elements of ...
circa 4 anni fa | 0 risposte | 0
0
risposteDomanda
The While Loop w/ Positive Integers
Write a MATLAB function that takes as input a positive integer n and returns the sum of the first n positive even integers? Usin...
circa 4 anni fa | 0 risposte | 0