已解决


Reverse the vector
Reverse the vector elements. Example: Input x = [1,2,3,4,5,6,7,8,9] Output y = [9,8,7,6,5,4,3,2,1]

6 years 前

已解决


Simple equation: Annual salary
Given an hourly wage, compute an annual salary by multiplying the wage times 40 and times 50, because salary = wage x 40 hours/w...

6 years 前

已解决


Check if sorted
Check if sorted. Example: Input x = [1 2 0] Output y is 0

6 years 前

已解决


Weighted average
Given two lists of numbers, determine the weighted average. Example [1 2 3] and [10 15 20] should result in 33.333...

6 years 前

已解决


Is my wife right?
Regardless of input, output the string 'yes'.

6 years 前

已解决


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

6 years 前

已解决


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

6 years 前

已解决


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

6 years 前

已解决


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

6 years 前

提问


Quick,dumb question with imshow
Hello, thanks for answering, I have a question about imshow, and how it processes the greyscale image matrix. In <http://i...

7 years 前 | 1 个回答 | 0

1

个回答

提问


Helo with image resize when zooming in
Hello, thanks for looking at this, I was hoping to get some advice with a problem I have: when I try to set the cdata of a ne...

7 years 前 | 0 个回答 | 0

0

个回答

提问


MATLAB plots problem: plot out of axes bounds on rotation
Hello, thanks for looking at this, I have a problem with a plot I have in MATLAB: basically, the plot goes out of the bounds of ...

7 years 前 | 0 个回答 | 0

0

个回答

提问


Quick question about imagesc, colormaps and colorbars
Hello, I have a question about an imagesc plot I create animations for, and why I get such a wildly changing colorbar. Basica...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Problem with colormapeditor not reading max and min or custom cmap
Hello, thanks for reading this, I'm having trouble with colormapeditor. I defined my own custom cmap and applied it, and it l...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Question about plotting same network multiple times in subplot with same color range
Hello, thanks for looking at this, I have a question about plotting a patched line network multiple times (one reference, one...

8 years 前 | 1 个回答 | 0

1

个回答

提问


VideoWriter output problem: distorted color
Hello, I'm having problems with VideoWriter. I can get everything to work, minus some color artifacts with my output. Basical...

8 years 前 | 1 个回答 | 0

1

个回答

提问


Adding curves to a 1D line tree defined by points and connectivity
Hello, thanks for reading this. I was looking to create a curved tree network based off of an input of lines defined by point...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Question about speeding up line plotting
Hello, thanks for reading this, What I do currently in some MATLAB code is plot3 a series of lines, defined by a beginning an...

8 years 前 | 2 个回答 | 0

2

个回答

提问


Help with rotating direction vector along unit circle
Hello, thanks for reading this, I think I'm overthinking this particular problem. What I'm doing is generating a binary tree ...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Help with declaring half sphere with point, direction vector
Hello, thanks for reading this, I was wondering how I could create a half sphere by a single point (which is the center), and...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Help me with a logic puzzle? Connecting semi-random sets of lines together
Hey, thanks for reading this, So I'm having trouble trying to get something to work. What I want to do is find the connectivi...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Another take on cyl <-> cyl interaction, asking for speed tips
I'm just looking for some advice with a programming logic question. My problem in my application comes from an intersection chec...

8 years 前 | 0 个回答 | 0

0

个回答

提问


Problem with complex number multiplication and division
Hello, thanks for looking at this, this is potentially a very stupid question. I'm having a problem with signs for complex co...

8 years 前 | 0 个回答 | 1

0

个回答

提问


Quick question about MCR, deployed exe's
If I deployed a exe on MCR 8.3, can I download the 8.5 MCR and have it work for the 8.3 version, or do I need mcr-specific versi...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Question about multiple imagesc on one axes, colorbar handling
Hello, thanks for reading this. I've been stewing over this for a while, and I've been partially successful with this. What I...

9 years 前 | 2 个回答 | 0

2

个回答

提问


Proportional text font size, or editing font size when figure resize occurs?
I've had some problems with this, and after looking online I've never really had a satisfactory answer to this. What I want t...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Smart way to handle out of folder pathing?
Hello, thanks for reading this, I have a question about executable compiling, specifically when it deals with programs that r...

9 years 前 | 1 个回答 | 0

1

个回答

提问


Passive FTP in a deployed project?
Hello, I asked a question like this one before, but couldn't get an answer. I was wondering if it was possible to do passive FTP...

9 years 前 | 0 个回答 | 0

0

个回答

提问


pasv question: getting pasv working in standalone executable
Hello, thanks for looking at this, I have a question about the pasv function located here: http://www.mathworks.com/matlabcen...

9 years 前 | 0 个回答 | 0

0

个回答

提问


GUIDE scrollfunction deleting figure
Hello, I have a question about my scrollfunction, I asked it here before but couldn't get a good response. My question is thi...

9 years 前 | 2 个回答 | 0

2

个回答

加载更多