Respondida
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...

más de 9 años hace | 1

Respondida
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://...

más de 9 años hace | 1

Problema


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

más de 9 años hace | 1 | 36 solvers

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

más de 9 años hace | 0

Respondida
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.>

más de 9 años hace | 0

Respondida
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...

más de 9 años hace | 0

Respondida
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); ...

más de 9 años hace | 0

| aceptada

Respondida
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,:,:)...

más de 9 años hace | 0

| aceptada

Respondida
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; ...

más de 9 años hace | 0

| aceptada

Problema


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.

más de 9 años hace | 3 | 128 solvers

Respondida
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...

más de 9 años hace | 0

Respondida
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')';

más de 9 años hace | 1

Respondida
[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.

más de 9 años hace | 1

| aceptada

Problema


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...

más de 9 años hace | 0 | 7 solvers

Problema


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

más de 9 años hace | 2 | 20 solvers

Problema


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

más de 9 años hace | 2 | 128 solvers

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

más de 9 años hace | 0

Respondida
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); ...

más de 9 años hace | 0

| aceptada

Enviada


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

más de 9 años hace | 1 descarga |

5.0 / 5

Resuelto


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...

más de 9 años hace

Resuelto


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...

más de 9 años hace

Resuelto


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

más de 9 años hace

Resuelto


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...

más de 9 años hace

Resuelto


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

más de 9 años hace

Respondida
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 ...

más de 9 años hace | 1

| aceptada

Problema


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...

más de 9 años hace | 2 | 15 solvers

Respondida
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...

más de 9 años hace | 1

Respondida
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...

más de 9 años hace | 0

| aceptada

Respondida
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() ...

más de 9 años hace | 0

Cargar más