Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 1

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 2

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 1

Answered
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 years ago | 1

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
''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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 1

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 2

| accepted

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

Answered
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 years ago | 0

| accepted

Load more