Answered
MATLAB equivalent of the python command scipy.ndimage.zoom()
Have you looked into imresize?

5 years ago | 0

| accepted

Answered
slx files not shown as simulink icon
Check to see if MATLAB is selected as the default application for this file type. The process will vary by OS. Instructions for ...

5 years ago | 0

Answered
using xls read to read value from column /row in a for loop
You need to specify row and column indices. Try this for j=1:128 my_out= key_out(:,j); % extracts the jth column end

5 years ago | 0

| accepted

Answered
Move particular column to specified index
There is not a special function for this. The best ways for doing this in MATLAB is to specify the new column order. A = [1:3;1...

5 years ago | 0

| accepted

Answered
how to detect the numbers in credit recharge cards
See the example Recognize Text Using Optical Character Recognition (OCR).

5 years ago | 0

Answered
how to detect and extracts the subtitle from the given image ?
See the example Recognize Text Using Optical Character Recognition (OCR).

5 years ago | 0

Answered
Different outputs with same inputs
Not sure what the question is, but something is not adding up in your examples. Try clearing your workspace and running your exa...

5 years ago | 1

| accepted

Answered
what is wrong with my code in Matlab function?
See this post.

5 years ago | 0

Answered
uploading variables to function
I think you are not considering variable scope. Functions do not share the same workspace as a script. See Base and Function Wor...

5 years ago | 0

Answered
how to extract subvectors of a vector or matrix?
This sounds like an assignment designed to teach you how to use a for loop. If so, it doesn't sound like you are thinking about ...

5 years ago | 0

Answered
Why doesn't the minor matrix match?
It looks like you have not correctly implemented the expansion of minors. Check your M arrays.

5 years ago | 0

| accepted

Answered
How to create a vector to store my values
In you incorporate indexing into your assignment statement, you can tell MATLAB where to store each result. See the example "Ass...

5 years ago | 0

Answered
Using "Find and Replace Text in Files" to add new line in m-file
I don't believe this is possible in the MATLAB editor. However, googling showed it is possible in some text editors (Notepad++ f...

5 years ago | 0

Answered
Dot indexing is not supported for variables of this type
The error appears to be line 36 text1 = strsplit(rawdata.field1{i},','); The current error is because the variable field1 cont...

5 years ago | 0

Answered
bar chart allowing for x values to sometimes be the same
This is the expected behavior when you plot specifying x and y. However, I can think of a simple work around. You xtick locatio...

5 years ago | 0

| accepted

Answered
its been displaying " Index exceeds the number of array elements (1). Error in sym/subsref (line 890) R_tilde = builtin('subsref',L_tilde,Idx);" can someone help me with this
You didn't point it out, but the error is coming from the line where you define f(x). The issue is with any time you index x w...

5 years ago | 0

| accepted

Answered
How to Move a Slider- bar when push button presses in GUI?
Guide or app designer? The slider property 'Value' determines the position of the slider bar. The value must be between the sli...

5 years ago | 1

| accepted

Answered
[DISCONTINUED] Wish-list for MATLAB Answer sections.
The ability for editors/moderators to split and combine threads. A comment is actually an answer, so being able to change it to...

5 years ago | 0

Answered
I would like to run up my MATLAB on my pc
Try navigating to your start menu and selecting "MATLAB 2020b". If that still takes you through the activation screen, try t...

5 years ago | 0

Answered
Convert character string to datetime variable
You are assuming doing this in a single step is faster. That is not always true. Just remember there may be a lot happening unde...

5 years ago | 1

| accepted

Answered
2 codes ovewriting each other?
We don't know anything about your files, but I don't think you want to combine your j and za for loops the way you did. I think ...

5 years ago | 0

Answered
How do you create an array with multiple rows in one line?
I'm not aware of a shorthand way to do this. You can consult the documentation here. One way could be to use reshape followed b...

5 years ago | 0

| accepted

Answered
Zooming in on a plot within a GUI
in my gui, it appears when I place the cursor on the plot. It appears just above the top right corner of the axes.

5 years ago | 0

Answered
Operands to the || and && operators must be convertible to logical scalar values.
Logical scalar means 1 logical value. You have a vector of logical values. An if statement must have a single logical result fro...

5 years ago | 1

| accepted

Answered
How to group and visualize data in histogram?
Histogram does not have grouping capability. However, you can use a bar plot instead. Use histcounts to get the data you need f...

5 years ago | 0

Answered
Average/mean of datetime hours and minutes ITSELF - not corresponding embedded data
Changing the format does not change the underlying data. It just changes how it appears. I think you would have to convert your...

5 years ago | 0

| accepted

Answered
extract a datanum value of timetable
Access data in a table (same for timetable) Dates and Time documentation. List of functions for dates and times.

5 years ago | 0

| accepted

Answered
Weird java text in command window
Restart MATLAB.

5 years ago | 0

Answered
Integration of Matlab Grader in Blackboard
You would use the gradebook in Blackboard to see who has submitted and who has passed the assignment. This will also let you see...

5 years ago | 0

| accepted

Answered
How to fix this error?
In checking your gui, the issue is you have given both the label and the edit field the same tag (fm for example). So when you r...

5 years ago | 0

Load more