# Daniel Vieira

Last seen: 4 månader ago Active since 2017

Followers: 0   Following: 0

All

#### Feeds

View by

Question

I have a doubt about how parfeval handles memory. My code is something like: ds=datastore('some/path/*.extension'); T=readall(...

### 1

Correlation Function giving the same output for different inputs
this fomula for CSAC results 1 for any complex numbers H1 and H2. It may be wrong, you should check the same formula from other ...

Question

why are fig files opening invisible?
a few days ago matlab started opening figures from fig files with the Visible flag 'off'. After I figured what was happening it'...

### 1

fzero giving incorrect result
I ran this code, got Hin = 2.216, and checked it with Resid(Hin), which gave zero. Testing Resid(2.33) does not give zero. I thi...

mer än ett år ago | 0

| accepted

How to solve this matrix equation
x=A\b where A is the matrix and b is the left-hand vector. notice that, since this is not a square matrix, the solution is not ...

mer än ett år ago | 0

i want to add a line when i press 'escape' button the program stops, because this program is infinite. Also what is the benefit of '"drawnow();" because i did not get it.
in matlab, a plot is normally only drawn when the script ends, so if you are plotting and constantly overwritting you would see ...

mer än ett år ago | 0

number of figure windows that are currently open?
I do something like this: for k=1:K % my code here figure; % my plot here fig=gcf; % get figure handle ...

mer än ett år ago | 0

How can I save a line plot as an image with specific pixel size?
to save a matlab figure as a png image use the print function: figure; plot(x,y) fig=gcf; print(fig,'filename.png','-dpng') ...

mer än ett år ago | 0

| accepted

Hello guys! I need a little help with 3d plotting. I need to do the coloring for the surface like this, but I cant get the yellowy parts to their correct positions.
ok... what do you mean by "correct position" for the yellow parts? where is the correct? strange things I noticed: 1) the "U...

ungefär 2 år ago | 0

| accepted

Why are the results of forward and predict very different in deep learning?
I ran into this exact problem, and I think I found a solution, I'll discover it when my model finishes training... As others ...

nästan 3 år ago | 5

| accepted

How to deconvolve an image in MATLAB? i was using weiner filter for this purpose but didn't get the results.
Looking superficially this code seems right, would have to go through the theory to check. But you can also use the function wie...

mer än 4 år ago | 0

Optimization in which the function varies with its own solution
I'm not sure I fully understood it because to me it still seems simple. Instead of writing: objFun=@(X) Fuel_cell_weight*x(1)+ ...

mer än 4 år ago | 1

Trying to find the error in logic
the Threshold parameter doesn't matter at all in your code. you binarize the image with the threshold, measure solidity of blobs...

mer än 4 år ago | 0

how to plot a 3D matrix in cartezian coordinate?
try the Volume Viewer

mer än 4 år ago | 0

Hi . I am new to DNN. I use deep neural network for binary classification but returns all zeros or ones.
I recommend normalizing your predictors, they range from 10^-5 to 10^9, pretty insane. I'd rather work with the log10 of that (r...

mer än 4 år ago | 0

| accepted

How to use transfer learning on U-net created in Matlab?
what you made works only for sequential models, where each layer is necessarily connected to the next in the same order that the...

mer än 4 år ago | 0

How can i extract all labeled objects in a image and save every object as an image?
with the image labeler you made a table where the first column is the image file, and the others are each label, each cell conta...

mer än 4 år ago | 0

How can I detemine the presence of some colors (e.g white, light brown, dark brown, red, blue gray and black) in a piture like attached one?
the easiest way would be using the Color Thresholder App to create function for the each color you want.

mer än 4 år ago | 0

Interpolate Points of a 3D Point Cloud?
try the scatteredInterpolant, should work fine with these points (not so much if you had a closed surface)

mer än 4 år ago | 0

How can i calculate the ( area ,... ) automatic for gray scale image using Matlab code ??
you don't calculate areas in grayscale directly, you need to binarize to indicate which pixels count in the area and which dont....

mer än 4 år ago | 2

CNN seems to be too inaccurate to classify my images. Is there an alternative that I can explore?
Alexnet is the simplest of the pretrained deep learning models, you might want to try others (resnet, inception, etc). You mi...

mer än 4 år ago | 0

| accepted

Reshaping a 2 d matrix into a 3 d matrix row wise.
A=randi(10,100,99); % example of what your matrix might be B=permute(reshape(A',9,11,[]),[2 1 3]) % solution

mer än 4 år ago | 0

Question

MATLAB App Designer does not render new fonts
I needed an illegible font for an app that requires a password, and there wasn't any in the App Designer default fonts, so I don...

nästan 5 år ago | 1 answer | 0

### 1

Question

what is the minimal Visual Studio 2017 community installation required to pass coder.checkGpuInstall test?
Up until a few weeks ago I had a full installation of Visual Studio in the default path, and everything worked. Then I made an u...

ungefär 5 år ago | 0 answers | 0

### 0

Question

possible problem with matlab installer for linux (2018b)
Hi, I'm trying to install matlab 2018b on ubuntu gnome 16.04, it seems quite strainght-forward, but I've run into a problem and ...

mer än 5 år ago | 0 answers | 1

### 0

Question

what happens if a license expires while a script is still running?
I have a neural network training on a cluster right now. I estimated that on my personal machine it would take 10 days running; ...

mer än 6 år ago | 1 answer | 0

### 1

Question

how to interpret the plotsomnd output?
Hi, I'm experimenting with clustering algorithms in my work, right now I'm trying SOM's, and I found it confusing to interpr...

mer än 6 år ago | 0 answers | 0

### 0

Question

how to compile pretrained networks?

mer än 6 år ago | 0 answers | 0

### 0

How can I prune the weak learners in an ensemble learner?
I'm having a similar problem, it appears this doesn't work anymore on 2017a.

nästan 7 år ago | 0

Question

issue with MATLAB Coder and cell arrays
I wrote a code to track multiple faces, and I'm trying to put it on a raspberry pi. I solved every issue pointed by the Coder ex...

ungefär 7 år ago | 1 answer | 0