Wick
Followers: 0 Following: 0
Feeds
질문
Bug in triangulation pointLocation calculations?
I have a snippet of code that is a simplifcation of a problem I've found using the pointLocation feature of MATLAB's triangulati...
2년 초과 전 | 답변 수: 1 | 1
1
답변답변 있음
What, if anything, can be done to optimize performance for modern AMD CPU's?
The Accepted Answer by @NedFlanders is the best solution so far. Use that one. But in the comments of that answer, MathWorks s...
What, if anything, can be done to optimize performance for modern AMD CPU's?
The Accepted Answer by @NedFlanders is the best solution so far. Use that one. But in the comments of that answer, MathWorks s...
대략 5년 전 | 2
질문
Limitation to Hidden Line Removal?
I'm trying to render small objects and large objects together. I'm using the camera commands to restrict my field of view such t...
5년 초과 전 | 답변 수: 0 | 0
0
답변질문
Odd Subplot Behavior - Script interpreter bug?
I've got a script that produces some plots. It's nothing fancy. I haven't included all the variable definitions in the code snip...
6년 초과 전 | 답변 수: 0 | 0
0
답변답변 있음
How would you make a contour plot of a 3 column matrix?
This plots the original data, the mesh that interpolates that data, and the contours it creates. If you want it to extrapolate o...
How would you make a contour plot of a 3 column matrix?
This plots the original data, the mesh that interpolates that data, and the contours it creates. If you want it to extrapolate o...
6년 초과 전 | 3
답변 있음
find indices of row subsets
Here you go. At the sizes you suggested, this shouldn't take too long. It has a single 'for' loop that cycles through the unique...
find indices of row subsets
Here you go. At the sizes you suggested, this shouldn't take too long. It has a single 'for' loop that cycles through the unique...
6년 초과 전 | 0
답변 있음
Using logical indexing to get subset of matrix rows which give desired output from function
I'm using random numbers just to have something to work with. The trouble is 'dot' doesn't like when the matrices aren't the sam...
Using logical indexing to get subset of matrix rows which give desired output from function
I'm using random numbers just to have something to work with. The trouble is 'dot' doesn't like when the matrices aren't the sam...
6년 초과 전 | 0
답변 있음
How to find elements of two different matrices that meet multiple conditions and store those values in one matrix?
Logical indexing is your friend. I don't know what your conditions are so I'm just going to make a few conditional statements be...
How to find elements of two different matrices that meet multiple conditions and store those values in one matrix?
Logical indexing is your friend. I don't know what your conditions are so I'm just going to make a few conditional statements be...
6년 초과 전 | 0
답변 있음
cannot open vlc from matlab using system command
[status, msg] = system('/usr/bin/vlc test.y4m &') Note the _single quotes_ on either end of the command to be sent to the ...
cannot open vlc from matlab using system command
[status, msg] = system('/usr/bin/vlc test.y4m &') Note the _single quotes_ on either end of the command to be sent to the ...
6년 초과 전 | 0
답변 있음
How to plot a sphere with lines of latitude (constant phi) for a given center (xo, yo, zo) and radius (R)
clearvars R = 1; xo = 10; yo = 20; zo = 30; num_angles = 3600; latitudes = -80:20:80; % la...
How to plot a sphere with lines of latitude (constant phi) for a given center (xo, yo, zo) and radius (R)
clearvars R = 1; xo = 10; yo = 20; zo = 30; num_angles = 3600; latitudes = -80:20:80; % la...
6년 초과 전 | 0
답변 있음
How do I store result from a loop into matrix?
The first column of S can be indexed S(:,1). The nth is S(:,n); Instead of making 360 different matrices with different names...
How do I store result from a loop into matrix?
The first column of S can be indexed S(:,1). The nth is S(:,n); Instead of making 360 different matrices with different names...
6년 초과 전 | 1
| 수락됨
답변 있음
How To Plot Data From A Cell Array Containing (x,y) Coordinates?
Niv, I assume you're putting things into a cell array on purpose. That's an unnecessary step since each element is the same shap...
How To Plot Data From A Cell Array Containing (x,y) Coordinates?
Niv, I assume you're putting things into a cell array on purpose. That's an unnecessary step since each element is the same shap...
6년 초과 전 | 0
답변 있음
How to plot volumetric concentration points in a slice meshgrid?
Ok, looks like you've got your volumetric plots going. It's easy from here. First, to display a color scale, the command is ...
How to plot volumetric concentration points in a slice meshgrid?
Ok, looks like you've got your volumetric plots going. It's easy from here. First, to display a color scale, the command is ...
6년 초과 전 | 0
| 수락됨
문제를 풀었습니다
Energy of a photon
*⚛ ☢ ⚛ ☢ ⚛ ☢ ⚛* Given the frequency F of a photon in giga hertz. Find energy E of this...
6년 초과 전
문제를 풀었습니다
Extra safe primes
Did you know that the number 5 is the first safe prime? A safe prime is a prime number that can be expressed as 2p+1, where p is...
6년 초과 전
답변 있음
MATLAB question regarding loop
In general, when inside a loop you can keep track of "something" simply by assigning that value to an element in a vector using ...
MATLAB question regarding loop
In general, when inside a loop you can keep track of "something" simply by assigning that value to an element in a vector using ...
6년 초과 전 | 0
답변 있음
please help to solve this error " In an assignment A(:) = B, the number of elements in A and B must be the same." . code is attached in zip file.
You're trying to assign a [1, 2] vector to a [1, 1] scalar. x_temp(stage) = abs(x_temp1).*y; 'stage' is a single value,...
please help to solve this error " In an assignment A(:) = B, the number of elements in A and B must be the same." . code is attached in zip file.
You're trying to assign a [1, 2] vector to a [1, 1] scalar. x_temp(stage) = abs(x_temp1).*y; 'stage' is a single value,...
6년 초과 전 | 0
| 수락됨
답변 있음
Combine for loop output??
If you're not trying to be pretty or efficient you can do the following: for draw=1:number_of_lines ...
Combine for loop output??
If you're not trying to be pretty or efficient you can do the following: for draw=1:number_of_lines ...
6년 초과 전 | 0
| 수락됨
답변 있음
Cropping xyz data in MATLAB
You're trying to extract the data from the image file? imread will work find for this purpose. It will return an mxnx3 varia...
Cropping xyz data in MATLAB
You're trying to extract the data from the image file? imread will work find for this purpose. It will return an mxnx3 varia...
6년 초과 전 | 0
| 수락됨
답변 있음
Help... Getting errors with v_plot and x_plot
Your code was quite difficult to understand without proper formatting and extra '*' spread around. I cleaned up the lines and ra...
Help... Getting errors with v_plot and x_plot
Your code was quite difficult to understand without proper formatting and extra '*' spread around. I cleaned up the lines and ra...
6년 초과 전 | 0
| 수락됨
답변 있음
Diagonal of a non-squared martrix
MATLAB has a built-in function for the identity matrix, 'eye'. There are two diagonals in a non-square matrix. We'll set both, o...
Diagonal of a non-squared martrix
MATLAB has a built-in function for the identity matrix, 'eye'. There are two diagonals in a non-square matrix. We'll set both, o...
6년 초과 전 | 0
답변 있음
How can I compute a contour bounded by the combination of multiple contour lines?
Just saw that you had posted a response that the noise in the small x isn't a concern. Well, I've got an overkill of overkill so...
How can I compute a contour bounded by the combination of multiple contour lines?
Just saw that you had posted a response that the noise in the small x isn't a concern. Well, I've got an overkill of overkill so...
6년 초과 전 | 0
| 수락됨
답변 있음
How can I compute a contour bounded by the combination of multiple contour lines?
The solution is to find a convex hull that encompasses all the points from all the contours. An example using the 'peaks' func...
How can I compute a contour bounded by the combination of multiple contour lines?
The solution is to find a convex hull that encompasses all the points from all the contours. An example using the 'peaks' func...
6년 초과 전 | 0
답변 있음
X-axis Labeling
I think the problem has to do with the fact that when there are 1000 elements in an array, there are only 999 gaps between those...
X-axis Labeling
I think the problem has to do with the fact that when there are 1000 elements in an array, there are only 999 gaps between those...
6년 초과 전 | 0
답변 있음
Why am I not getting the correct Phase angle when doing FFT
Without seeing your data I'm guessing you're not measuring the frequency at exactly the frequency the signal was generated at. T...
Why am I not getting the correct Phase angle when doing FFT
Without seeing your data I'm guessing you're not measuring the frequency at exactly the frequency the signal was generated at. T...
6년 초과 전 | 0
답변 있음
Help with updating slice plot in for loop
You just need to draw a new slice with the new V_new. if true [X, Y, Z] = meshgrid([0 x], [0 y], [0 z]); h = slice(X,Y,Z...
Help with updating slice plot in for loop
You just need to draw a new slice with the new V_new. if true [X, Y, Z] = meshgrid([0 x], [0 y], [0 z]); h = slice(X,Y,Z...
6년 초과 전 | 0
답변 있음
How to plot animation plots?
If you're just looking to animate what the plot is doing like in the video, just include a 'drawnow' command inside a for loop. ...
How to plot animation plots?
If you're just looking to animate what the plot is doing like in the video, just include a 'drawnow' command inside a for loop. ...
6년 초과 전 | 1
답변 있음
3D plot confusion
Assuming you're making the exterior of the ship from mesh or surface commands. Those commands will connect dots and make patches...
3D plot confusion
Assuming you're making the exterior of the ship from mesh or surface commands. Those commands will connect dots and make patches...
6년 초과 전 | 0
답변 있음
How can I read, in matlab, an image I have on my desktp with the imread () function?
You must put the name of the image in single quotes in the command. If the image is in a path beneath where MATLAB is currently ...
How can I read, in matlab, an image I have on my desktp with the imread () function?
You must put the name of the image in single quotes in the command. If the image is in a path beneath where MATLAB is currently ...
6년 초과 전 | 0
답변 있음
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...
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...
6년 초과 전 | 0