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

plus de 9 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://...

plus de 9 ans il y a | 1

Problème


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

plus de 9 ans il y a | 1 | 36 solveurs

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

plus de 9 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.>

plus de 9 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...

plus de 9 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) ...

plus de 9 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); ...

plus de 9 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,:,:)...

plus de 9 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; ...

plus de 9 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.

plus de 9 ans il y a | 4 | 130 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...

plus de 9 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')';

plus de 9 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.

plus de 9 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...

plus de 9 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.

plus de 9 ans il y a | 2 | 20 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

plus de 9 ans il y a | 2 | 128 solveurs

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

plus de 9 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); ...

plus de 9 ans il y a | 0

| A accepté

A soumis


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

plus de 9 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...

plus de 9 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...

plus de 9 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...

plus de 9 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...

plus de 9 ans il y a

A résolu


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

plus de 9 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 ...

plus de 9 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...

plus de 9 ans il y a | 2 | 15 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...

plus de 9 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...

plus de 9 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() ...

plus de 9 ans il y a | 0

Charger plus