Réponse apportée
How do I make a 3d plot of black body radiation
Assuming I typed it correctly, here is the code you provided: C1(1:100) = 3.742*10^8; C2(1:100) = 1.439*10^4; Lambda ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Dear all, I have a similar problem, although the crash report is a bit different (see below). The crash can occur at any point in time, even when I'm entering simple comments (without plotting anything). Help is much appreciated!
If MATLAB is crashing, you can contact MathWorks Technical Support and they can help you identify the cause.

environ 8 ans il y a | 0

Réponse apportée
How do I draw a colour bar with known discrete RGB values and known percentage of pixels represent each RGB values?
You can use a |<https://www.mathworks.com/help/matlab/ref/patch.html patch>| object for this. values = [0.5 0.3 0.2]; co...

environ 8 ans il y a | 0

Réponse apportée
i want code to convert image to text
You probably want a Neural Network and Deep Learning, but explaining what that is will take more than a blog post. One place ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Error using * (multiplication mark)
It would help to know the size of |b1|, the value of |N|, etc. to give a definitive answer, but I suspect the issue is that you ...

environ 8 ans il y a | 0

Réponse apportée
General usage of ParseInputs
Are you referring to |inputParser|? As far as I can tell, there is no MATLAB |ParseInputs|. If your concern is performance, m...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
How can I use pbaspect and MinorTick in subplot with three plots?
What isn't working when you use three plots instead of two? I just tested your code, and the only thing I noticed is that as ...

environ 8 ans il y a | 1

Réponse apportée
3D graph interactive control using checkboxes
If you are using a recent MATLAB release, you may be able to get the functionality you are looking for using the |ItemHitFcn| bu...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
What happened for "simple" command in matlab 2016
It looks like the |simple| command (from the Symbolic Math Toolbox) was removed in R2015a. It is present in R2014b. The <https:/...

environ 8 ans il y a | 2

| A accepté

Réponse apportée
What is my Y axis and what does it depend on
Let's start with something simple: x = [0 2 1 0]; y = [0 1 3 0]; z = conv(x,y); plot(z); <</matlabcentral/answe...

environ 8 ans il y a | 0

Réponse apportée
How to segment Blue color object on this images?
Do you have access to the Image Processing Toolbox? If so, check out these options: * <https://www.mathworks.com/help/images/...

environ 8 ans il y a | 1

Réponse apportée
Read Textfile (lines with different formats) line by line
There are many different strategies, but I think you are going to have to use |<https://www.mathworks.com/help/matlab/ref/regexp...

environ 8 ans il y a | 1

Réponse apportée
Compute mean and diff faster
It may be time to start looking into the Parallel Computing Toolbox or some of the new Big Data capabilities in MATLAB (such as ...

environ 8 ans il y a | 0

Réponse apportée
Find beginning and end of a series of events
My first thought is to use |diff| on the timestamps (to get the time between events) and then threshold the results (anything ov...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How to change the x-axis so you only view the image (axistight)?
There are a few ways to change the x-axis limits: xlim([-inf inf]) % Fit the x-limits tight to the data. axis tight % Fi...

environ 8 ans il y a | 0

Réponse apportée
How to specify the absolute length (e.g. in [mm]) of the x-axis when printed to e.g. pdf?
Are you setting the |Units| property on the Axes to be |centimeters|? axes('Units','centimeters','Position',[1 1 10 10]) ...

environ 8 ans il y a | 0

Réponse apportée
Hourly average of the data which is not continuous?
If you have MATLAB R2016b or newer, you can use the |<https://www.mathworks.com/help/matlab/ref/retime.html retime>| method on t...

environ 8 ans il y a | 0

Réponse apportée
im getting this error Undefined operator ' ' for input arguments of type 'matlab.ui.Figure'.
Sounds like the code you are using was written for MATLAB prior to R2014a, when figure handles were doubles. Starting in R2014b,...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
How to create 2D plot from 3D table?
Assuming you are referring to 2D matrices, which you have concatenated into a 3D matrix (MATLAB |table| objects do not support 3...

environ 8 ans il y a | 0

Réponse apportée
''Error using reshape: To RESHAPE the number of elements must not change''
What is the size of |I| both before and after calling |imresize| on the second image? Is one of the images grayscale or black an...

environ 8 ans il y a | 0

Réponse apportée
given a large array of words and little cell how can i find for each word in the array the number of occurrences in the cell
Check out |<https://www.mathworks.com/help/matlab/ref/ismember.html ismember>|. Also, double-check your syntax for specifying...

environ 8 ans il y a | 1

| A accepté

Réponse apportée
Help: Matlab code to import stock price data from an excel file using the function input.
The first issue is the command: prices{i}=xlsread('Stocks.xlsx','29112013','30112017',tickers{:,i}); You are specifying ...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Display content on http requests returned with error status (400, 500)
What version of MATLAB are you using? The specifics of this behavior have changed a little over the past few releases. Even w...

environ 8 ans il y a | 0

Réponse apportée
What happens in response to fprintf commands when a deployed app is created using deploytool?
You can specify a file identifier (created using |fopen|) as the first input to |fprintf|, which will send the output to a file....

environ 8 ans il y a | 1

| A accepté

Réponse apportée
change bar color based on value
You should check out the latest version of MATLAB. Starting in MATLAB R2017b you can specify a color for each bar in a bar serie...

environ 8 ans il y a | 0

Réponse apportée
Histogram plotting where the x-axis is in multiples of 0.1
You have two options: 1. You can use the |<https://www.mathworks.com/help/matlab/ref/histogram.html histogram>| command. When...

environ 8 ans il y a | 2

| A accepté

Réponse apportée
How can I replace values that meet a condition when I work with matrices and structures?
Based on just your first sentence, this is what you are trying to do: for tt = 1:NumTimesteps for ch = 1:size(efSin09,...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
lloyd function is in the path, but is not recognised when executed
I think I would start with: restoredefaultpath rehash toolboxcache That will (temporarily) reset your path to the def...

environ 8 ans il y a | 0

Réponse apportée
How can I find all possible combiantions of 3 numbers in a 6 number array using a for loop?
There are probably more efficient ways of doing this, but here's one attempt: Matrix=[-4 2 1 -1 -1 0]; n = numel(Matrix)...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
How can I plot a 12x12x12 matrix with a point in [1,1,1 ] , [1,1,2] , etc
I can interpret your question in two different ways. The first way, I think the command you are looking for is |<https://www....

plus de 8 ans il y a | 0

Charger plus