Réponse apportée
Maximum of the image size png Matlab
Short answer: trial and error. Long answer: This should probably be somewhere in the doc. Only after the trial and error did I...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
how to write loop for in for
Because you want to determine the value of a by looking at x, you need to do just that: A=readfile('https://www.mathworks.com/m...

presque 6 ans il y a | 0

Réponse apportée
Textscan from a text file that contains signs
Use strspilt to split each line. Then you can check if there are enough elements on that line, select the 6th element and use st...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Cutting a Matrix Into a Triangle
Use fliplr to mirror the matrix, then use tril or triu, then mirror again with fliplr.

presque 6 ans il y a | 1

A soumis


PhotoAnnotation
View photos along with their description

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

0.0 / 5
Thumbnail

A soumis


WindowLevel
Enable setting the window level (contrast and brightness) by dragging

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

5.0 / 5
Thumbnail

A soumis


maximize
Maximize the figure window (multiple strategies implemented)

presque 6 ans il y a | 2 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
You can get a speedup by using a convolution to calculate the moving sum: v=randi(100,2000,1); n=10; clc timeit(@() option...

presque 6 ans il y a | 2

Réponse apportée
Plotting histogram with percentage
You will have to insert those labels with the text function.

presque 6 ans il y a | 0

Réponse apportée
Duplicate the element n times for specific dimension
Use subindexing, the mean function, and repmat.

presque 6 ans il y a | 0

A soumis


point to line distance
calculate the distance between a 2D or 3D line and one or more points

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

4.8 / 5
Thumbnail

Réponse apportée
What is meant by a "toolbox" in matlab?
A toolbox is a package of functions and/or classes. They provide you with tools, generally for a specific topic (like signal ana...

presque 6 ans il y a | 2

| A accepté

Réponse apportée
align two 3D arrays based on datenum
You have some duplicate dates in your dataset, so that complicates matters a bit. The code below will match the two arrays. %lo...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Is an infinite for loop infinite?
The for-loop will run for int64(inf) iterations. If you want an actual unending loop, consider using while true.

presque 6 ans il y a | 0

Réponse apportée
plz help as soon as possible i want full matlab code of this question
(I'm only posting an answer to prevent deletion of the question and so preserve the comments. I think the solution to the proble...

presque 6 ans il y a | 0

Réponse apportée
Copy elements to end of row vector - help needed!
I don't fully understand your code, but looking to your results, this code should do. a = [10 10 20 20 30 30 40 40 50 50 60 60 ...

presque 6 ans il y a | 1

| A accepté

Réponse apportée
Matrix probability with just one 1
This code only works for positions with equal probability. dist=[0 0.5 0 0 0.5]; valid_pos=find(dist);%select non-zero out=...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Looping through different files with sprintf
Read the documentation for sprintf. filename=sprintf('sub%02d.mat',s); You also probably want to actually the loaded data: in...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
matlab URI can not access to a valid url webpage
You forgot to input the URI as a char array: r = RequestMessage; uri = URI('http://maps.googleapis.com/maps/api/staticmap?cent...

presque 6 ans il y a | 0

Réponse apportée
How to solve this question? Help :'(
You should learn about the linspace function. I would also suggest you check if you have x and y correct. I kept your convention...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Octave problem with solution
You misplaced one dot: the division is currently a matrix division, instead of an element-wise operation. Note that subtraction ...

presque 6 ans il y a | 0

Réponse apportée
I need to create a button UI that undo the graph which I plotted without using GUIDE
You will have to store the handle to your last plotted graph and either delete it, or set the Visibility to 'off'.

presque 6 ans il y a | 0

A soumis


Bible Downloader
Download Bible translations from a GUI

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

0.0 / 5
Thumbnail

Discussion


What frustrates you about MATLAB? #2
Similar to what has happened with the wishlist threads (#1 #2 #3 #4 #5), the "what frustrates you about MATLAB" thread has becom...

presque 6 ans il y a | 6

Question


What frustrates you about MATLAB? #2
Similar to what has happened with the wishlist threads (#1 #2 #3 #4 #5), the "what frustrates you about MATLAB" thread has becom...

presque 6 ans il y a | 53 réponses | 5

53

réponses

Réponse apportée
Extract number and infromation from multiple image files ?
The code below should do what you need. Adapt as needed. folder = 'Defolder'; S = dir(fullfile(folder,'*.jpg')); N = {S.name}...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to handle functions with multiple outputs
You will need a wrapper function (which you can make fancy if you want, but I made it simple). f=@(x1,x2)wrapper(x1,x2); f...

presque 6 ans il y a | 0

| A accepté

Réponse apportée
How to search for an array inside another array?
idx=find(ismember(a,b,'row'))

presque 6 ans il y a | 0

| A accepté

Réponse apportée
Faster way to make movies than drawing figures
You should initialize the graphics objects outside the loop and then modify the properties inside the loop. The dynamic expansi...

presque 6 ans il y a | 0

Réponse apportée
Compare elements in a matrix for a variable
So essentially a lookup table? %generate some random data id= rand(75,1); r= rand(75,1); id_list=unique(id); M_3D=id_list(r...

presque 6 ans il y a | 0

Charger plus