已回答
How to display error using error function?
Simple enough then. err = 'This is an error message.'; % perhaps something a bit more descriptive error(err);

6 years 前 | 0

| 已接受

已回答
Hello! I have a homework about pattern search using segmentation, and I got this error message: Array dimensions must match for binary array op. I only have the searching part of the code (or I hope this code do that).
This isn't an answer to fix your code. This is an answer as to why it breaks. Try inserting these two lines: size(cut) s...

6 years 前 | 0

| 已接受

已回答
Compute Streamlines in Parallel and Antiparallel Directions
Just reverse your velocity fields. XYZ_reverse = stream3(X,Y,Z,-U,-V,-W,startx,starty,startz)

6 years 前 | 0

| 已接受

已回答
How to horizontally extract some region from an image
I'm assuming you're not looking to do some sort of image processing to identify where the cutoff should be. With that, here's a ...

6 years 前 | 0

| 已接受

已回答
How do I rescale the x-axis?
The simplest way is to change the values in your plot command. Divide all your fs times by 1000 and now they're picosecond times...

6 years 前 | 0

| 已接受

提问


Screen Resolution Limit to Figure Size
I'd like to make a bit of code to create images targeted at a 4k display. Unfortunately, I don't own a 4k display. I do, however...

6 years 前 | 1 个回答 | 1

1

个回答

提问


What, if anything, can be done to optimize performance for modern AMD CPU's?
I have a AMD Threadripper CPU. I've seen suggestions that AMD-based computers will benefit from changing the math library from I...

6 years 前 | 4 个回答 | 10

4

个回答

已回答
Plots disappear when I change y-limit
Thanks. I checked the 'help plot3' when a small section of code wouldn't work. However, a quick check appears to prove the more ...

6 years 前 | 0

| 已接受

提问


Plots disappear when I change y-limit
Edit: Never mind. I realized after posting this, said figure isn't 9 'plot' commands. It's 9 'plot3' commands each figure viewed...

6 years 前 | 1 个回答 | 0

1

个回答