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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 1

Problema


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

oltre 9 anni fa | 1 | 36 risolutori

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

| accettato

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.

oltre 9 anni fa | 4 | 129 risolutori

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 1

| accettato

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

oltre 9 anni fa | 0 | 7 risolutori

Problema


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

oltre 9 anni fa | 2 | 20 risolutori

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

oltre 9 anni fa | 2 | 128 risolutori

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

oltre 9 anni fa | 0

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

oltre 9 anni fa | 0

| accettato

Inviato


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

oltre 9 anni fa | 1 download |

5.0 / 5

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

Risolto


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

oltre 9 anni fa

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

oltre 9 anni fa | 1

| accettato

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

oltre 9 anni fa | 2 | 15 risolutori

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

oltre 9 anni fa | 1

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

oltre 9 anni fa | 0

| accettato

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

oltre 9 anni fa | 0

Carica altro