解決済み

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]

約3年 前

解決済み

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

約3年 前

解決済み

Weighted average

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

約3年 前

解決済み

Pizza!

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

約3年 前

解決済み

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

約3年 前

解決済み

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

約3年 前

解決済み

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

約3年 前

質問

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

約4年 前 | 1 件の回答 | 0

質問

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

約4年 前 | 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 ...

4年以上 前 | 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...

4年以上 前 | 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...

4年以上 前 | 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...

4年以上 前 | 1 件の回答 | 0

質問

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

4年以上 前 | 1 件の回答 | 0

質問

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

4年以上 前 | 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...

4年以上 前 | 2 件の回答 | 0

質問

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

4年以上 前 | 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...

5年弱 前 | 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...

5年弱 前 | 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...

約5年 前 | 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...

約5年 前 | 0 件の回答 | 1

質問

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

5年以上 前 | 1 件の回答 | 0

質問

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

5年以上 前 | 2 件の回答 | 0

質問

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

5年以上 前 | 1 件の回答 | 0

質問

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

5年以上 前 | 1 件の回答 | 0

質問

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

5年以上 前 | 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...

5年以上 前 | 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...

6年弱 前 | 2 件の回答 | 0