답변 있음
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 ...

대략 8년 전 | 0

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
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 ...

대략 8년 전 | 0

| 수락됨

답변 있음
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 ...

대략 8년 전 | 0

답변 있음
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...

대략 8년 전 | 1

| 수락됨

답변 있음
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 ...

대략 8년 전 | 1

답변 있음
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...

대략 8년 전 | 1

| 수락됨

답변 있음
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:/...

대략 8년 전 | 2

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
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/...

대략 8년 전 | 1

답변 있음
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...

대략 8년 전 | 1

답변 있음
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 ...

대략 8년 전 | 0

답변 있음
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...

대략 8년 전 | 0

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
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]) ...

대략 8년 전 | 0

답변 있음
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...

대략 8년 전 | 0

답변 있음
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,...

대략 8년 전 | 1

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
''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...

대략 8년 전 | 0

답변 있음
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...

대략 8년 전 | 1

| 수락됨

답변 있음
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 ...

대략 8년 전 | 0

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
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....

대략 8년 전 | 1

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
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...

대략 8년 전 | 2

| 수락됨

답변 있음
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,...

대략 8년 전 | 0

| 수락됨

답변 있음
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...

대략 8년 전 | 0

답변 있음
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)...

대략 8년 전 | 0

| 수락됨

답변 있음
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....

대략 8년 전 | 0

더 보기