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]

environ 4 ans 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...

environ 4 ans 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...

environ 4 ans 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...

environ 4 ans 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 ...

environ 4 ans 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...

environ 4 ans 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:...

environ 4 ans 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...

environ 5 ans ago | 1 answer | 0

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

environ 5 ans ago | 0 answers | 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 ...

plus de 5 ans ago | 0 answers | 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...

plus de 5 ans ago | 0 answers | 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...

plus de 5 ans ago | 0 answers | 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...

plus de 5 ans ago | 1 answer | 0

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

plus de 5 ans ago | 1 answer | 0

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

plus de 5 ans ago | 0 answers | 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...

plus de 5 ans ago | 2 answers | 0

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

plus de 5 ans ago | 0 answers | 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...

presque 6 ans ago | 0 answers | 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...

presque 6 ans ago | 0 answers | 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...

presque 6 ans ago | 0 answers | 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...

environ 6 ans ago | 0 answers | 1

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

plus de 6 ans ago | 1 answer | 0

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

plus de 6 ans ago | 2 answers | 0

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

plus de 6 ans ago | 1 answer | 0

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

plus de 6 ans ago | 1 answer | 0

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

plus de 6 ans ago | 0 answers | 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...

plus de 6 ans ago | 0 answers | 0

Question

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

presque 7 ans ago | 2 answers | 0