Réponse apportée
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...

presque 10 ans il y a | 1

Réponse apportée
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://...

presque 10 ans il y a | 1

Problème


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

presque 10 ans il y a | 1 | 37 solveurs

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

presque 10 ans il y a | 0

Réponse apportée
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.>

presque 10 ans il y a | 0

Réponse apportée
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...

presque 10 ans il y a | 0

Réponse apportée
So I am trying to get a textfile onto matlab and define a matrix. I copied and pasted it onto the current folder in the name window next to the command window. In the command I put A=dlmread('file') but it keeps on giving me a cannot find file.
Try this: pathname = 'path\to\file'; %path to the file filename = 'file.txt'; %don't forget the file extension (.txt) ...

presque 10 ans il y a | 0

Réponse apportée
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); ...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
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,:,:)...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
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; ...

presque 10 ans il y a | 0

| A accepté

Problème


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.

presque 10 ans il y a | 4 | 133 solveurs

Réponse apportée
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...

presque 10 ans il y a | 0

Réponse apportée
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')';

presque 10 ans il y a | 1

Réponse apportée
[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.

presque 10 ans il y a | 1

| A accepté

Problème


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

presque 10 ans il y a | 0 | 7 solveurs

Problème


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

presque 10 ans il y a | 2 | 22 solveurs

Problème


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

presque 10 ans il y a | 2 | 137 solveurs

Réponse apportée
How I store/save the window figure out from running some codes?
for images: doc print()

presque 10 ans il y a | 0

Réponse apportée
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); ...

presque 10 ans il y a | 0

| A accepté

A soumis


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

presque 10 ans il y a | 1 téléchargement |

5.0 / 5

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

A résolu


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

presque 10 ans il y a

Réponse apportée
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 ...

presque 10 ans il y a | 1

| A accepté

Problème


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

presque 10 ans il y a | 2 | 17 solveurs

Réponse apportée
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...

presque 10 ans il y a | 1

Réponse apportée
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...

presque 10 ans il y a | 0

| A accepté

Réponse apportée
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() ...

presque 10 ans il y a | 0

Charger plus