Answered
having function from negative infinity to infinity & having a continuous function in spite of array
Hello Zahra, It sounds like there may be a couple of options for you, depending on what you are hoping to do with this functi...

8 years ago | 0

| accepted

Answered
What is the process for getting a quote for Embedded Coder?
Hello Bob, Down at the bottom of the <https://www.mathworks.com/products/embedded-coder.html Embedded Coder page> is a "Ready...

8 years ago | 0

Answered
How does MATLAB R2017a access the script files of previous version installed on same pc?
When a new version of MATLAB is installed, it checks for old versions and their preferences, and attempts to migrate them over t...

8 years ago | 0

| accepted

Answered
Thresholding Matrix Within Cell Array
<https://www.mathworks.com/help/matlab/ref/cellfun.html cellfun> is your friend here. You can create a local, nested, or regular...

8 years ago | 1

| accepted

Answered
I have folder with name 'images' within that folder 20 sub-folders are there. that sub-folder consist 20 images with name like 'img (1).gif'. I have to read images one by one then store the hog features in the text file.
What issues are you running into? Or what is your question? I can suggest that you consider using "dir" to automatically get ...

8 years ago | 0

| accepted

Answered
How to display the webcam through the correct axes?
Hello Muammar, Capitalization matters in MATLAB. There is no variable "Handles", but there is "handles". Similarly, there is ...

8 years ago | 0

Answered
Android app and Matlab socket communication
Hello Sumit, Though I don't have code for you, here is an idea for how you could go about doing this. The problem primarily s...

8 years ago | 0

Answered
How to make the background all black leaving all the particles as they are?
Hey Mapilane, As Jan said, defining what is "background" and what isn't is very important here. However, once you can describ...

8 years ago | 0

| accepted

Answered
Correlation between spatially averaged gridbox and global gridpoints
Hey Cory, Your z-data, as you know, is a 72x144 matrix. It's been processed, but it's still the same size (if transposed) as ...

8 years ago | 0

| accepted

Answered
How do I access z coordinates in a contour map?
Hey Neal, If you are using the Data Brush to draw the rectangles, I'm not sure that will do anything for you with contour plo...

8 years ago | 0

Answered
Matlab Bar Graph Lables In Alphabetical Order
Hey Bryan, The key difficulty here is that categorical data, if not ordinal, has no inherent order. So it be presented in a d...

8 years ago | 1

Answered
How to create a symbolic matrix with unknown dimensions?
John is right that the complex-conjugate potion of the <http://www.mathworks.com/help/matlab/ref/ctranspose.html complex-conjuga...

8 years ago | 0

Answered
How to upload data from a .cnv file?
Hello Andrea, I highly doubt that readtable failed because it is a CNV file. readtable assumes everything you give it to be a...

8 years ago | 1

Answered
Kalman filter for beginners
Hello Jessica, Getting the data into MATLAB is really simple. There is an "Import Data" button in the ribbon that will help y...

8 years ago | 0

Answered
How to create a for-loop with matrices and vectors?
Hello Sean, You can see the comments below your question for critiques on the code you posted. I would suggest a full revamp,...

8 years ago | 0

Answered
error using open line 145
Hello Julián, Generally it's best to copy and paste the whole error message and stack trace into your question. There are sev...

8 years ago | 1

Answered
Stroing an image with different names from a loop
Hello Sreejoe, If you run just part of your code with a sample "i" value: sprintf('C:\Users\ska\Desktop\Test Gradient Im...

8 years ago | 0

Answered
Index exceeds matrix dimensions Economic Model
Hello Erdtsieck, Probably the easiest solution is to simply ensure the final index doesn't go beyond the max length of the ar...

8 years ago | 0

| accepted

Answered
import from excel, do the search then export to excel
You can get data from Excel files using <http://www.mathworks.com/help/matlab/ref/xlsread.html "xlsread"> or <http://www.mathwor...

8 years ago | 0

Answered
Unable to return historical data for given security.
Hello Adhish, I'd suggest trying the workaround listed in <https://www.mathworks.com/support/bugreports/1571158 this bug repo...

8 years ago | 0

Answered
saving output at every iteration in simulated annealing
Hello Pragya, I am not sure whether you are trying to customize the data that is printed each iteration, or save certain part...

8 years ago | 0

Answered
How to plot a second graph when the first graph still plotting?
Hello Joy, It sounds like you want to basically plot in real time, or something similar to that. You could do this in a simpl...

8 years ago | 0

| accepted

Answered
Query output dimension of function handle
This is a good question, but it doesn't quite work with the way that MATLAB defines arrays or anonymous functions. Your question...

8 years ago | 0

Answered
How to obtain the indexes of numbers in a cell array with mixed data?
You can use <http://www.mathworks.com/help/matlab/ref/cellfun.html "cellfun"> to run the is* style functions for every cell in a...

8 years ago | 1

| accepted

Answered
Uitable gui different size on different computers
Hello James, Different systems, especially if they have different operating systems, will frequently cause UI components to a...

8 years ago | 0

| accepted

Answered
When I replot some of the axes in my figure the previous tick labels don't delete and the new tick labels overlap.
Hello David, I believe this is occurring because you are creating a new set of axes when you do: gca = axes('Units','pix...

8 years ago | 0

| accepted

Answered
How can I use a trained CNN to predict a new image label?
Hello Abich, The example you linked shows how to train on a new set of images. I am not a neural networks expert, but if the ...

8 years ago | 0

| accepted

Answered
I could't fill F vectors 1th value
Hello Mehmet, This is a huge bunch of code with no explanation as to what any of it means. I can give you a couple of pointer...

8 years ago | 0

Answered
java error using Matlab GUI
Hello Toke and Martin, It really depends on what release of MATLAB you are using. There are issues with Java discovered in ea...

8 years ago | 0

Answered
Heat distribution in a cylindrical rod
Hello Vivek, It looks like you have a simple syntax error when using the two initial anonymous functions ("k1func" and "k2fun...

8 years ago | 0

| accepted

Load more