Community Profile

photo

Natalia Wong


Active since 2015

Followers: 0   Following: 0

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


NOT logical operators???
Pls help I dont understand the last line when i typed it in matlab when A = [ 1 2 3 ] A>2 is 0 0 1 but ~A is 0 0 0 ...

8 years ago | 1 answer | 0

1

answer

Question


Why does my anonymous function have an error?
I can calculate the integral for I1 but not for I2,I3 and I4. I'm new to matlab. I get the error as shown below. But when I plot...

8 years ago | 1 answer | 0

1

answer

Question


While loop doesnt run
im having problems with my code. if the user enters anything except the value 1 the program should stop but if the user enters 1...

8 years ago | 1 answer | 0

1

answer

Question


How to make a composite trapezoidal rule have more than 1 iteration?
Hi I have written the function for composite trapezoidal rule and I'm required to calculate the volume by integrating 1/(1+x^2)...

8 years ago | 1 answer | 0

1

answer

Question


Can I use simpson's 1/3 rule to calculate area under graph for imported data?
Hi I have written a function (Composite Simpson's 1/3 rule) and I need to use the function to integrate to get the area under t...

8 years ago | 0 answers | 0

0

answers

Question


Creating a program that guesses the colours( not a colour)??
I am currently stuck at task 4 at checking how many colours the user entered are correct, and the colour and position are correc...

8 years ago | 2 answers | 0

2

answers

Answered
I'm having problems creating a program that prompts a user to guess the colour.
i'm not changing the count. just leave it for now. i'll attach the question to give you a clearer picture of what i want to do. ...

8 years ago | 0

Question


I'm having problems creating a program that prompts a user to guess the colour.
I'm stuck because my while loop won't end although I wrote a false condition by using count?? The user is supposed to enter 5 c...

8 years ago | 3 answers | 0

3

answers

Question


why can't my 2nd output argument in my function return any value?
Hi, I 'm trying to create a function that calculates the root from the the quadratic eqn. i need to display the two roots separa...

8 years ago | 1 answer | 0

1

answer

Question


How do I do task 4?
I really don't know where to begin in task 4. Pls help and I am new to Matlab Thanks

8 years ago | 2 answers | 0

2

answers

Question


how do i determine the output of how many prime numbers are there and list them by the function that i created?
I have created my own function(without using isprime or any other built in functions) to determine whether an integer is a prime...

8 years ago | 1 answer | 0

1

answer

Question


how to write a function that multiplies any 2 matrices that are of compatible size by using nested for loop?
For example not just a (2X2)matrix, but also for a (3X1) matrix and (3X3) matrix. I'm confused by a nested loop ? How do you nes...

8 years ago | 1 answer | 0

1

answer

Question


how to output how many numbers in the range are prime numbers using the function that i created?
function[ result ] = MyPrime( X ); this is my function how do i input an array to the input argument which is X and output h...

8 years ago | 2 answers | 0

2

answers

Question


can i have 3 different graphs in a same m-file?
Hi I have plotted 3 different graphs in a single m-file but I can only view one graph. How to make all 3graphs pop out simultane...

8 years ago | 1 answer | 0

1

answer

Question


How to separate imported data from notepad to two separate columns ?
I have 2 columns of data from notepad. However, these 2 columns appear as a variable. I can't plot a graph using the data as I n...

8 years ago | 0 answers | 0

0

answers

Answered
How to separate imported data from notepad to two separate columns ?
here is the file tq

8 years ago | 0

| accepted

Question


How to separate imported data from notepad to two separate columns ?
I have 2 columns of data from notepad. However, these 2 columns appear as a variable. I can't plot a graph using the data as I n...

8 years ago | 1 answer | 0

1

answer