Community Profile

photo

jarvan


Active since 2014

Statistics

  • Thankful Level 3

View badges

Content Feed

View by

Question


construct meshgrid matrices without using function meshgrid.
Hi, I am going to construct meshgrid matrices1 x(i, j), y(i, j), given the grid points x=[0: 0.1:10], y=[0:0.2:10]. when I try...

8 years ago | 2 answers | 0

2

answers

Question


z value is missing during using surf for plotting
I have a user-program which is download on http://tinyurl.com/p4uqz4r. I have to use surf to plot a right circular cone with ba...

8 years ago | 1 answer | 0

1

answer

Question


using discrete cosine transform to break 16x16 to 8x8 blocks
I have to break a image-pixel array down to 8x8 blocks. Here is my code function imcompress(fig,fmt,mask) p = imread(fi...

8 years ago | 2 answers | 0

2

answers

Question


check an phone number area code with strncmp
The phone number should be ###-###-####, which is including the dash. I am writing a function to determine whether a string for...

8 years ago | 1 answer | 0

1

answer

Question


Unexpected MATLAB operator during using isnumeric and isletter
I am writing a function that prompts the user for a number immediately followed by a letter of the alphabet. The format should b...

8 years ago | 1 answer | 0

1

answer

Question


create and display a cell array that have a same length of requiremant
I a writting a script that will create and display a cell array that will loop to store strings of lengths 4, 5, 6, and 7. it wi...

8 years ago | 1 answer | 0

1

answer

Question


countdown the received character
Hi guys, I have a function which will accept the characters and n, this function is a cell array with strings of decreasing le...

8 years ago | 1 answer | 0

1

answer

Question


stored character string to character matrix by using loop
I am going to use loop to prompt out 4 course name as 5-character string as form'AB101'. And I need to stored those string in a ...

8 years ago | 1 answer | 0

1

answer

Question


stored character string to character matrix by using loop
I am going to use loop to prompt out 4 course name as 5-character string as form'AB101'. And I need to stored those string in a...

8 years ago | 0 answers | 0

0

answers

Question


store the input into the cell array with a loop
I try to store three input into a cell array by using loop there are some parts I messed up. It said undefined 'game', what sh...

8 years ago | 1 answer | 0

1

answer

Question


remove to only one whitespace in a string
hi all, I am writing a function that to remove the blanks between the words and return it to only one space. like mystr...

8 years ago | 2 answers | 0

2

answers

Question


print acsii characters in tabular format using char
I am writing a function that will receive a matrix of integers uint8 less than 129 as input agrument. And print it as acsi...

8 years ago | 1 answer | 0

1

answer

Question


use any/all test with while loop in range 0:1:10
I do have a vector of quiz grade(which input by reader). the valid grades are in the range of 0:1:10. I have to use any/all te...

8 years ago | 2 answers | 0

2

answers

Question


Using loops, print a table showing wind chill factors
hi guys, I am writing a function that need to print a table showing wind chill factors,which temperatures is -25:5:55(in col...

8 years ago | 1 answer | 0

1

answer

Question


Error using .* Matrix dimensions must agree.
Hi, I got a trouble when I tried to load the date file and update the new balance. Here is my atm.mat file password =...

8 years ago | 1 answer | 0

1

answer

Question


Error using ~= Matrix dimensions must agree during using while function
I was testing the while loop for my ATM script. password = 'jjteam' password = ucsdmate balance = num...

8 years ago | 2 answers | 0

2

answers

Question


write a for loop to round up vector
i have a vector = [123.231 232.123 123.565 123.543] I need to use for loop to give out an result as: number 1 is 123.2 numb...

8 years ago | 1 answer | 0

1

answer

Question


for loop to sum up the integer
here is the question generate a random integer n in the range from 5 to 9 then loop n times to: -prompt the user for an inte...

8 years ago | 3 answers | 0

3

answers

Question


compute the 2 dimensional (x,y) with respect to time
I have those numbers that is 0 50 0 1 50 -9.8 2 50 -19.6 3 50 -29.4 4 50 -39.2 5 50 -49.0 Which I saved to a.dat file...

8 years ago | 2 answers | 0

2

answers

Question


change Red level in RGB
I got these code but it keeps saying that im have not enough input arguments. or,it said undefined function or variable while i...

8 years ago | 1 answer | 0

1

answer