Answered
How to use Matlab to fill in some fields in a website, execute a function of the website and then return a result field?
I wouldn't recommend internal Matlab functions such as urlread() and urlwrite(). Instead, take a look at cURL:You can use the f...

10 years ago | 1

Answered
Can not open any movie file
A google search revealed various versions of the Machine Vision Toolbox. The Movie class in the most recent version on <http://...

10 years ago | 1

Problem


Expand a term
Given a term, as a string, expand it. e. g. f = '2(x + y)';

10 years ago | 1 | 37 solvers

Answered
I need to create a matriz since two different?
I assume you want: a = [V(:,1), C];

10 years ago | 0

Answered
How to solve Error:workspcefunc (line 14) at least 3 input arguments required
<https://www.tutorialspoint.com/matlab/matlab_functions.htm Here's a tutorial on how to use Matlab functions.>

10 years ago | 0

Answered
How to read .tif as .mat file?
Not sure what you are trying to do. Do you have a .tif file called z.tif? Then the solution would be to specify the .tif file a...

10 years ago | 0

Answered
Creating variables (matrices) in for loop
Creating new variables dynamically is bad practice. Store them in a cell array or in a struct. For example: C = cell(n,1); ...

10 years ago | 0

| accepted

Answered
About trasfor two dimensions to three dimensions
I assume 23*25 are the dimensions of the matrices? You could do something like this: c = zeros(6, 23, 25); c(1:3,:,:)...

10 years ago | 0

| accepted

Answered
The XTickLabel command is not working properly.
You could try f = gcf; f.ResizeFcn = 'h.XTickLabel = dx.*h.XTick;'; This will call h.XTickLabel = dx.*h.XTick; ...

10 years ago | 0

| accepted

Problem


Subtract integers and add doubles
Create a function that subtracts a from b if a and b are integers and adds them if they are floats.

10 years ago | 4 | 133 solvers

Answered
I don't know how to solve this equation.
"Cannot find an explicit solution" means that there may only be an implicit solution, i.e. the variable x you are solving for ca...

10 years ago | 0

Answered
How to use unique function in 2D matrices?
x = [1 1 2 2 3 3 4 4; 5 5 6 6 7 7 8 8 ; 9 9 10 10 11 11 12 12]; y = unique(x','rows')';

10 years ago | 1

Answered
[GUI] How do I create a Push Button like "File", that allows me to get more Push Button like "Open", "Save", "Save as", and "Exit"?
<https://de.mathworks.com/help/matlab/creating_guis/creating-menus-in-a-guide-gui.html This link> might help you.

10 years ago | 1

| accepted

Problem


Distance between Berlin and New York in km
Use Pythagoras to calculate the distance between two locations in km (based on their respective longitudes and latitudes). Fo...

10 years ago | 0 | 7 solvers

Problem


Get Cody's screen size
Return an object that helps this problem's test suite return Cody's screen size.

10 years ago | 2 | 22 solvers

Problem


calculate the day of the year from a date string.
'09-Oct-2016' is the 283rd day of the year. So doy = dayoftheyear('09-Oct-2016') should return doy = 283

10 years ago | 2 | 137 solvers

Answered
How I store/save the window figure out from running some codes?
for images: doc print()

10 years ago | 0

Answered
Issues with my jacobian method code
Just a small error in your code. Here's the correction: function [x] = jacobi(A,b,x0,n_iter) n=length(x0); ...

10 years ago | 0

| accepted

Submitted


timeOfDay(timeIn, outUnit)
calculates the time of day since 00:00 from datenum

10 years ago | 46 downloads |

5.0 / 5

Solved


Find the two most distant points
Given a collection of points, return the indices of the rows that contain the two points most distant from one another. The inpu...

10 years ago

Solved


Sums with Excluded Digits
Add all the integers from 1 to n in which the digit m does not appear. m will always be a single digit integer from 0 to 9. no...

10 years ago

Solved


Duplicates
Write a function that accepts a cell array of strings and returns another cell array of strings *with only the duplicates* retai...

10 years ago

Solved


Maximum running product for a string of numbers
Given a string s representing a list of numbers, find the five consecutive numbers that multiply to form the largest number. Spe...

10 years ago

Solved


radius of a spherical planet
you just measured its surface area, that is the input.

10 years ago

Answered
Making a movie from images in matlab
Please make sure your code is formatted correctly. It is barely readable. Anyways, you didn't actually open the video writer ...

10 years ago | 1

| accepted

Problem


Persistence will not help you solve this problem.
Create a function without inputs that adds one to the output every time it is called. A different possibility of solving this ha...

10 years ago | 2 | 17 solvers

Answered
Error Masg Matrix Dimensions exceeded
This is causing your error: if Min>CurrentPos(M(1),M(2)); Min=CurrentPos(M(1),M(2)); M is a 1x1 matrix, s...

10 years ago | 1

Answered
Need help with my bisection code
1. You are "missing" the variable "yr". You have to define it somewhere before using this line: dy=abs(yl-yr); 2. After...

10 years ago | 0

| accepted

Answered
How do you create the number as mentioned below?
I won't tell you how to do it since this sounds like homework, but here are some functions that may help you. str2double() ...

10 years ago | 0

Load more