photo

David Hughes


Wayne State University

Active since 2015

Followers: 0   Following: 0

Message

Statistics

MATLAB Answers

13 Questions
1 Answer

RANK
111,477
of 300,338

REPUTATION
0

CONTRIBUTIONS
13 Questions
1 Answer

ANSWER ACCEPTANCE
38.46%

VOTES RECEIVED
0

RANK
 of 20,922

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 168,149

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

  • Thankful Level 3

View badges

Feeds

View by

Question


Script that performs the same as MATLAB function.
I am looking to create scripts for some internal functions: repmat, fliplr, flipud, and rot90. I am familiar with how each works...

10 years ago | 0 answers | 0

0

answers

Question


How do I bypass Error (index must be a positive integer or logical)?
I created a script that will give the average of the negative numbers entered by the user. I was attempting to store the entered...

10 years ago | 1 answer | 0

1

answer

Question


How do I convert this to a while loop?
I have a script that works but I would like to convert it to a while loop and I am stuck. Any help is appreciated. Script is bel...

10 years ago | 1 answer | 0

1

answer

Question


Can xlswrite be used to prompt the user for the file name?
I have a script that writes the results to an excel file. Currently the file name has to be entered into the script. I want the ...

10 years ago | 3 answers | 0

3

answers

Question


Error in Matrix multiplication function.
The message below is the error I get when I run this function file. I am not sure why. The function is supposed give an error if...

10 years ago | 1 answer | 0

1

answer

Question


Code will not display getting error
I am getting an error on line 14 it will not display B. Any suggestions? This is the code: A=[1 2 3;4 5 6;7 8 9] [m,n]=...

10 years ago | 2 answers | 0

2

answers

Question


Can this code be more efficient?
I wrote this code with some help of a classmate and I think the code can run more efficiently. It coverts whole numbers & number...

10 years ago | 1 answer | 0

1

answer

Question


Using a while loop to perform like cumsum function.
I have to create a code utilizing nested while loops to perform the same operation as cumsum. If I enter A=[1 2 3;4 5 6;7 8 9], ...

10 years ago | 0 answers | 0

0

answers

Answered
Geometric Mean and average.
I think I found the answer. i=1; n=1; while n >= 0 ix = input('Enter your numbers: '); if ix < 0 % break ...

10 years ago | 0

Question


Geometric Mean and average.
I am trying to create a code that will accept inputs until a negative integer is entered then take all the positive integers as ...

10 years ago | 1 answer | 0

1

answer

Question


Help with dec2bin conversion
I have to create a code using a while loop that will output the binary form of a number(that is less than 1). The code I have wo...

10 years ago | 1 answer | 0

1

answer

Question


How to find matrix column & row max & min output as vector?
I need to create a script that gives the maximum & minimum value of each column and each row of a vector. This is what I have so...

10 years ago | 2 answers | 0

2

answers

Question


How to convert from a for loop to a while loop
function [y] = HW5_P2(n) %This function file determines the value of n^2 over the range 1 to n for i = 3:3:n x = [1:i];...

10 years ago | 1 answer | 0

1

answer

Question


Using a while loop, what am I missing?
The code works but does not print the first number. The range is 1 to 11 odd numbers only but I need number 1 to show in the lis...

10 years ago | 1 answer | 0

1

answer