답변 있음
matrix addition and calculating the average of it
You can add three matrices using the + operator, which will do element-by-element addition: D = A+B+C; If you want to ge...

대략 8년 전 | 0

답변 있음
Plotting only SOME of the points on a curve
What version of MATLAB are you using? There is a new feature, introduced in R2016b that allows you to specify which vertices in ...

대략 8년 전 | 0

답변 있음
How to combine multiple output from a function into 1?
You can only do this if you know how many outputs you are expecting. That is because MATLAB only populates the outputs you reque...

8년 초과 전 | 0

| 수락됨

답변 있음
Timer Objects - more precise alternative ?
You are going to have trouble getting millisecond precision with any application that isn't running with special priority in the...

8년 초과 전 | 0

| 수락됨

답변 있음
Already Saved Subplots to subplots including title and labels
Your first approach is copying all the axes children from one axes to another, which is not copying the axes itself (just its ch...

8년 초과 전 | 1

답변 있음
3D point label a in plot
Sounds like you want to use the |<https://www.mathworks.com/help/matlab/ref/text.html text>| command. For example: [X,Y]...

8년 초과 전 | 0

| 수락됨

답변 있음
How to smooth a 3d surface
Have you tried |<https://www.mathworks.com/help/matlab/ref/conv2.html conv2>|?

8년 초과 전 | 0

답변 있음
read number put them in array, remove line , and store them in new file?
One small change you can make is in your format string. You are using |%f|, which is for "fixed-point notation". If you switched...

8년 초과 전 | 1

답변 있음
How to save (or prevent from being deleted) handle to axes within a GUI (created using GUIDE) ?
Your best bet to avoid the axes being deleted is to *always* pass an axes handle when you are calling your plotting functions. ...

8년 초과 전 | 4

답변 있음
When I close a plot the screen goes black.
I would recommend contacting technical support, as that sounds like it could be a bug. They can probably help. Because MATLAB R2...

8년 초과 전 | 0

| 수락됨

답변 있음
Heatmap function does not work
There are two reasons the HeatMap command may not work for you in R2015a/b. # The |HeatMap| command comes with the Bioinforma...

8년 초과 전 | 4

답변 있음
Attempted to access t(0.1); index must be a positive integer or logical. Need help.
It looks like you are trying to use the variable |i| for two purposes: to keep track of your vector index as well as to define y...

대략 9년 전 | 1

| 수락됨

답변 있음
Clearing Variables From Memory MATLAB App Designer
The |app| variable in App Designer is an object. From your description it sounds like what you are calling variables are really ...

대략 9년 전 | 2

답변 있음
How to plot the equation |x|+|y|+|z|=1 ?
If you are using MATLAB R2016b you can use the new |<https://www.mathworks.com/help/matlab/ref/fimplicit3.html fimplicit3>| comm...

대략 9년 전 | 2

답변 있음
How to subtract one color from an image?
Let's say the two images are A and B, both are MxNx3 matrices: red = shiftdim([1 0 0],-1); black = shiftdim([0 0 0],-1);...

대략 9년 전 | 0

| 수락됨

답변 있음
Is it possible to call functions from a DLL that was built in MATLAB? ie possibility of using matlab dll in matlab script itself.
Let me propose another solution: Just P-code your MATLAB code using the |<https://www.mathworks.com/help/matlab/ref/pcode.html p...

대략 9년 전 | 0

| 수락됨

답변 있음
Pixel values to Image
You need to read in your text file using one of the methods described on this doc page: <https://www.mathworks.com/help/matlab/i...

대략 9년 전 | 2

| 수락됨

답변 있음
Formatting a double for output in message box
You want to use |<https://www.mathworks.com/help/matlab/ref/sprintf.html sprintf>|, probably something like this: sprintf('...

대략 9년 전 | 0

| 수락됨

답변 있음
Is it possible to call functions from a DLL that was built in MATLAB? ie possibility of using matlab dll in matlab script itself.
I think what you need to do is to write a MEX function wrapper around your new DLL. MEX functions are the interface that allows ...

대략 9년 전 | 0

답변 있음
Remove white border when "Copy figure"
If you are referring to the margins surrounding your axes in the figure, the size of those margins are hard-coded within subplot...

대략 9년 전 | 0

제출됨


Continuous monitoring of wireless network of temperature sensors using MATLAB® and XBee®
Collect data from a network of temperature sensors using MATLAB® and XBee®.

9년 초과 전 | 다운로드 수: 1 |

4.0 / 5
Thumbnail

답변 있음
Bar chart not working with small time/x axis resolutions after 2015a
I'm not certain, but I believe what changed is now MATLAB is drawing sub-pixel wide bars. You have 14,691 bar objects drawn hori...

9년 초과 전 | 0

| 수락됨

답변 있음
Plotting graph from the data of a csv file
My recommendation is to try the "Import Data" wizard (look for the "Import Data" button on the tool strip). Select your file, se...

9년 초과 전 | 1

| 수락됨

답변 있음
How to avoid multi-column histogram made using histogram() from overlapping the data to get output similar to the one got with hist()
This isn't a perfect solution, but you can use a combination of histcounts + bar: x = randn(1000,3); [N1,edges] = histco...

9년 초과 전 | 1

답변 있음
uicontrol handle error using set
There was a major change in how graphics are treated in MATLAB in R2014b. For details you can see this page: <http://www.mathwo...

9년 초과 전 | 0

답변 있음
About the function 'bar3', I want put the bar figure in the center of the cell.
I don't believe the bar3 command allows you to specify both X and Y. However, the bar3 command creates surfaces, and you can spe...

거의 10년 전 | 0

답변 있음
Insert Equation directly into the code
You want to use an <http://www.mathworks.com/help/matlab/matlab_prog/anonymous-functions.html anonymous function> : f = @(x...

대략 10년 전 | 2

| 수락됨

답변 있음
How Would I create a matrix which contains the first and last m columns of another matrix?
Lets say you have an M-by-N matrix, and you wanted the first K and last K columns: m = 10; n = 20; k = 3; A = rand...

대략 10년 전 | 0

답변 있음
how to solve the error "Not enough input arguments."
When you pass a function handle to ode45, ode45 is only going to provide the first two input arguments (t and y). If you want to...

대략 10년 전 | 2

| 수락됨

답변 있음
Adding legend of different names in a plot generated by a for loop
It isn't clear what you mean by "various cell names are stored in M5BAT.CellList folder", but it looks like you are trying to cr...

대략 10년 전 | 1

| 수락됨

더 보기