# Daniel Vieira

**Statistics**

RANK**1.271**

of 275.971

REPUTAZIONE**43**

CONTRIBUTI

**7** Domande

**20** Risposte

ACCETTAZIONE DELLE RISPOSTE **
14.29%
**

VOTI RICEVUTI**8**

CONTRIBUTI**0 Post**

CONTRIBUTI**0** Pubblico Canali

VALUTAZIONE MEDIA

CONTRIBUTI**0** Punti principali

NUMERO MEDIO DI LIKE

**Content Feed**

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

29 giorni fa | 0

| accettato

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

circa un mese fa | 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 ...

4 mesi fa | 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 ...

4 mesi fa | 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') ...

4 mesi fa | 0

| accettato

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

12 mesi fa | 0

| accettato

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

oltre un anno fa | 4

| accettato

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

circa 3 anni fa | 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)+ ...

circa 3 anni fa | 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...

circa 3 anni fa | 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...

circa 3 anni fa | 0

| accettato

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

circa 3 anni fa | 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...

circa 3 anni fa | 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.

circa 3 anni fa | 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)

circa 3 anni fa | 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....

circa 3 anni fa | 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...

circa 3 anni fa | 0

| accettato

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

circa 3 anni fa | 0

Domanda

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

oltre 3 anni fa | 1 risposta | 0

### 1

rispostaDomanda

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

circa 4 anni fa | 0 risposte | 0

### 0

risposteDomanda

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

oltre 4 anni fa | 0 risposte | 1

### 0

risposteDomanda

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

oltre 5 anni fa | 1 risposta | 0

### 1

rispostaDomanda

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

oltre 5 anni fa | 0 risposte | 0

### 0

risposteDomanda

how to compile pretrained networks?

I have a code like this: function results=myNet(filename) load(filename) %loads data from mat file load('net.mat') ...

oltre 5 anni fa | 0 risposte | 0

### 0

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

oltre 5 anni fa | 0

Domanda

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

circa 6 anni fa | 1 risposta | 0

### 1

rispostaRisolto

Parasitic numbers

Test whether the first input x is an n-parasitic number: <http://en.wikipedia.org/wiki/Parasitic_number>. ( _n_ is the second in...

circa 6 anni fa

Risolto

Raise a polynomial to a power

In Matlab, polynomials are represented by a vector of coefficients. For example, the polynomial p=a*x^2 + b*x + c is represente...

circa 6 anni fa