Beantwortet
Good day im trying to plot a graph of the effect of distance of separation between the TX/RX and the receive signal strength, using Friis's free space equation. I am having an issue with the graph when my pr is in db unit.
You're plotting exactly what you're asking for. However, I don't think you're asking what you think you're asking. Your definiti...

mehr als 8 Jahre vor | 0

Beantwortet
plotting streamlines from velocity components
Michael, I've got some code below that plots slices and streamlines for your data but the data itself is odd. It looks like y...

mehr als 8 Jahre vor | 0

| akzeptiert

Beantwortet
How do I comment out a large block of code in MATLAB?
Rather than comment large sections of code, I bypass them with the following syntax. for dont_go_here = [] % code I wa...

mehr als 8 Jahre vor | 2

Gelöst


Triangle Numbers
Triangle numbers are the sums of successive integers. So 6 is a triangle number because 6 = 1 + 2 + 3 which can be displa...

mehr als 8 Jahre vor

Gelöst


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

mehr als 8 Jahre vor

Gelöst


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 8 Jahre vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

Gelöst


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

mehr als 8 Jahre vor

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

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

mehr als 8 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 1

1

Antwort

Frage


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

mehr als 8 Jahre vor | 4 Antworten | 10

4

Antworten

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

mehr als 8 Jahre vor | 0

| akzeptiert

Frage


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

mehr als 8 Jahre vor | 1 Antwort | 0

1

Antwort