Réponse apportée
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...

plus de 8 ans il y a | 0

Réponse apportée
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 ...

plus de 8 ans il y a | 0

Réponse apportée
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...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 8 ans il y a | 1

Réponse apportée
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]...

plus de 8 ans il y a | 0

| A accepté

Réponse apportée
How to smooth a 3d surface
Have you tried |<https://www.mathworks.com/help/matlab/ref/conv2.html conv2>|?

plus de 8 ans il y a | 0

Réponse apportée
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...

plus de 8 ans il y a | 1

Réponse apportée
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. ...

presque 9 ans il y a | 4

Réponse apportée
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...

presque 9 ans il y a | 0

| A accepté

Réponse apportée
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...

presque 9 ans il y a | 4

Réponse apportée
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...

environ 9 ans il y a | 1

| A accepté

Réponse apportée
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 ...

environ 9 ans il y a | 2

Réponse apportée
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...

environ 9 ans il y a | 2

Réponse apportée
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);...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
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...

environ 9 ans il y a | 2

| A accepté

Réponse apportée
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('...

environ 9 ans il y a | 0

| A accepté

Réponse apportée
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 ...

environ 9 ans il y a | 0

Réponse apportée
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...

environ 9 ans il y a | 0

A soumis


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

plus de 9 ans il y a | 1 téléchargement |

4.0 / 5
Thumbnail

Réponse apportée
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...

plus de 9 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 9 ans il y a | 1

Réponse apportée
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...

plus de 9 ans il y a | 0

Réponse apportée
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...

presque 10 ans il y a | 0

Réponse apportée
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...

environ 10 ans il y a | 2

| A accepté

Réponse apportée
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...

environ 10 ans il y a | 0

Réponse apportée
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...

environ 10 ans il y a | 2

| A accepté

Réponse apportée
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...

environ 10 ans il y a | 1

| A accepté

Charger plus