photo

Robert Brown


Last seen: plus d'un an il y a Actif depuis 2021

Followers: 0   Following: 0

Statistiques

All
MATLAB Answers

1 Question
9 Réponses

Cody

0 Problèmes
14 Solutions

RANG
3 405
of 300 780

RÉPUTATION
16

CONTRIBUTIONS
1 Question
9 Réponses

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
3

RANG
 of 21 086

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG
30 155
of 171 018

CONTRIBUTIONS
0 Problèmes
14 Solutions

SCORE
168

NOMBRE DE BADGES
2

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • Thankful Level 1
  • Revival Level 1
  • Knowledgeable Level 1
  • Commenter
  • Solver
  • First Answer

Afficher les badges

Feeds

Afficher par

A résolu


Rescale Scores
Each column (except last) of matrix |X| contains students' scores in a course assignment or a test. The last column has a weight...

plus de 4 ans il y a

Question


how can I gracefully exit a while loop, when reading from a data file of variable length, and the file may terminate abruptly and incompletely when written
here is some sample code with comments on what is happening... (actual code reads huge file with huge messages... shortened her...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Réponse apportée
how to create matrix?
you can specify the elements of a 3x3 matrix as follows: >> a = [1 2 3; 4 5 6; 7 8 9] the result will be a = 1 2 ...

plus de 4 ans il y a | 0

Réponse apportée
How do I plot a point on a graph?
Add these lines to the bottom of your code, to plot the desired value as a red asterisk on the existing plot with the other data...

plus de 4 ans il y a | 2

Réponse apportée
How can I determine the y-intercept from known x and y values?
define a vector, x x = 1:10 define a slope, m define an intercept, b NOTE: I did this for the example, to generate the da...

plus de 4 ans il y a | 0

| A accepté

Réponse apportée
DCT transformation
Couldn't find your image, so I found 'rice.png' within MATLAB I = im2double(imread('rice.png')); Display the rice.png image,...

plus de 4 ans il y a | 0

Réponse apportée
How to make lines plotted as dots for discontinuous data more visible in legend?
Following Chris LaPierre's advice above... plot the graphs as a group with lines at only the first point, then plot the the gra...

plus de 4 ans il y a | 1

| A accepté

Réponse apportée
Why is my code a matrix and not a double
1 e = [0.01; 2 0.1; 3 0.5; 4 0.9]; 5while j <= 4 6 while i <= 7 7 if M(i,j) > -pi && M(i,j) < 0 || M...

plus de 4 ans il y a | 0

A résolu


Calculate BMI
Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

plus de 4 ans il y a

A résolu


Verify Law of Large Numbers
If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

plus de 4 ans il y a

A résolu


Find the Oldest Person in a Room
Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

plus de 4 ans il y a

A résolu


Convert from Fahrenheit to Celsius
Given an input vector |F| containing temperature values in Fahrenheit, return an output vector |C| that contains the values in C...

plus de 4 ans il y a

A résolu


Calculate Amount of Cake Frosting
Given two input variables |r| and |h|, which stand for the radius and height of a cake, calculate the surface area of the cake y...

presque 5 ans il y a

A résolu


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]; ...

presque 5 ans il y a

A résolu


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...

presque 5 ans il y a

A résolu


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

presque 5 ans il y a

A résolu


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. Examp...

presque 5 ans il y a

A résolu


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

presque 5 ans il y a

A résolu


Add two numbers
Given a and b, return the sum a+b in c.

presque 5 ans il y a

A résolu


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...

presque 5 ans il y a

A résolu


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

presque 5 ans il y a

Réponse apportée
Quantization of a standard Cosine signal
%% Description of Z1 First, we recognize that loop is equal to sample number. So L_level(loop) is the quantization level of th...

presque 5 ans il y a | 0

Réponse apportée
Derivation of sin(x) gives false cos(x)
Technically, the gradient is extrapolating data!!! When you have a series of position measurements..... you require 2 positio...

presque 5 ans il y a | 0

Réponse apportée
regarding music note code can anyone explain this code line by line?
First trick with understanding this code is that you need the *.wav file. WAV is an audio recording format. Without that, the...

presque 5 ans il y a | 0