Solved

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]

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Solved

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

ongeveer 5 jaar ago

Question

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

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 6 jaar ago | 0 answers | 0

### 0

Question

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

meer dan 6 jaar ago | 0 answers | 0

### 0

Question

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

meer dan 6 jaar ago | 0 answers | 0

### 0

Question

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

meer dan 6 jaar ago | 0 answers | 0

### 0

Question

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

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 6 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 6 jaar ago | 0 answers | 0

### 0

Question

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

bijna 7 jaar ago | 2 answers | 0

### 2

Question

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

bijna 7 jaar ago | 0 answers | 0

### 0

Question

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

ongeveer 7 jaar ago | 0 answers | 0

### 0

Question

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

ongeveer 7 jaar ago | 0 answers | 0

### 0

Question

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

ongeveer 7 jaar ago | 0 answers | 0

### 0

Question

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

ongeveer 7 jaar ago | 0 answers | 1

### 0

Question

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

meer dan 7 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 7 jaar ago | 2 answers | 0

### 2

Question

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

meer dan 7 jaar ago | 1 answer | 0

### 1

Question

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

meer dan 7 jaar ago | 1 answer | 0

### 1

Question

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

bijna 8 jaar ago | 0 answers | 0

### 0

Question

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

bijna 8 jaar ago | 0 answers | 0