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

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 1

| akzeptiert

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

etwa 8 Jahre vor | 1

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

etwa 8 Jahre vor | 1

| akzeptiert

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

etwa 8 Jahre vor | 2

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 1

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

etwa 8 Jahre vor | 1

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 1

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 1

| akzeptiert

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

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 1

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 2

| akzeptiert

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

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

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

etwa 8 Jahre vor | 0

| akzeptiert

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

etwa 8 Jahre vor | 0

Mehr laden